Retrieves the list of file and directory names in the specified remote directory, or a list of names matching the specified mask.
Namespace:
Rebex.Net
Assembly:
Rebex.Sftp (in Rebex.Sftp.dll)
Syntax
Visual Basic |
---|
Public Function GetNameList ( _ path As String _ ) As String() |
C# |
---|
public string[] GetNameList( string path ) |
Parameters
- path
- Type: System..::..String
The path of the remote directory, or null for current directory. File wildcards masks (such as *.txt) are accepted as well.
Return Value
An array of lines, with each line representing a single name.Implements
IFtp..::..GetNameList(String)Remarks
Argument is taken case sensitive if ServerType equals to Unix; case insensitive otherwise.