List the given directory's contents as an array of strings of file-names.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0
Syntax
C# |
---|
public virtual string[] GetFiles( string directory ) |
Visual Basic |
---|
Public Overridable Function GetFiles ( _ directory As String _ ) As String() |
Visual C++ |
---|
public: virtual array<String^>^ GetFiles( String^ directory ) |
Parameters
- directory
- Type: System..::..String
Name of directory
Return Value
An array of directory listing strings.
Remarks
The directory name can sometimes be a file mask depending on the FTP server.