Sftp.GetRawList Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9119)
GetRawList()
Retrieves the list of files and directories in the current remote directory using a raw text format.
Declaration
public string[] GetRawList()
Returns
Type | Description |
---|---|
String[] | An array of lines, with each line representing a single item. |
Implements
GetRawList(String)
Retrieves the list of files and directories in the specified remote directory (or a list of files matching the specified mask) using a raw text format.
Declaration
public string[] GetRawList(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path of the remote directory, or null for current directory. File wildcards masks (such as *.txt) are accepted as well. |
Returns
Type | Description |
---|---|
String[] | An array of lines, with each line representing a single item. |
Implements
Remarks
Argument is taken case sensitive if ServerType equals to Unix; case insensitive otherwise.