List a directory's contents as an array of FTPFile objects.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
| C# |
|---|
public virtual FTPFile[] DirDetails( string dirName ) |
| Visual Basic |
|---|
Public Overridable Function DirDetails ( _ dirName As String _ ) As FTPFile() |
| Visual C++ |
|---|
public: virtual array<FTPFile^>^ DirDetails( String^ dirName ) |
Parameters
- dirName
- Type: System..::..String
Return Value
An array of FTPFile objects.Implements
IFileTransferClient..::..DirDetails(String)
Remarks
This works for Windows and most Unix FTP servers. Please inform EDT
about unusual formats (support@enterprisedt.com). Note that for some
servers, this will not work from the parent directory of dirname. You
need to ChDir() into dirname and use DirDetails() (with no arguments).