List the given directory's contents as an array of strings of file-names.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
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.