Retrieves the raw list of files and directories as received from the server.

Namespace:  Rebex.Net
Assembly:  Rebex.Ftp (in Rebex.Ftp.dll)

Syntax

Visual Basic
Public Function GetRawList ( _
	arguments As String _
) As String()
C#
public string[] GetRawList(
	string arguments
)

Parameters

arguments
Type: System..::..String
Arguments for the LIST command.

Return Value

The array of response lines.

Implements

IFtp..::..GetRawList(String)

Remarks

Represents FTP LIST command.

Because the RFC does not define the format of the file list, this method is often useless. Using GetList is a better choice in most cases.

Caution: The meaning of the arguments argument is not defined by RFC and varies from server to server. Some servers interpret it as parameters to dir command, some as a filename, some ignore it and some report an error. Calling this method with arguments other than null is not recommended and will make your code incompatible with many FTP servers.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also