FTPClientDirDetails(String, FTPFileCallback) Method
List a directory's contents as an array of FTPFile objects.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
public virtual FTPFile[] DirDetails(
string dirname,
FTPFileCallback dirListItemCallback
)
Public Overridable Function DirDetails (
dirname As String,
dirListItemCallback As FTPFileCallback
) As FTPFile()
public:
virtual array<FTPFile^>^ DirDetails(
String^ dirname,
FTPFileCallback^ dirListItemCallback
)
abstract DirDetails :
dirname : string *
dirListItemCallback : FTPFileCallback -> FTPFile[]
override DirDetails :
dirname : string *
dirListItemCallback : FTPFileCallback -> FTPFile[]
- dirname String
- Name of directory OR filemask (if supported by the server).
- dirListItemCallback FTPFileCallback
-
FTPFileAn array of
FTPFile objects.
IFileTransferClientDirDetails(String, FTPFileCallback)
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).