TFTPSend.List
TFTPSend     

function List(Directory: string; NameList: Boolean): Boolean;

Unit
ftpsend

Description
Download directory listing of Directory on FTP server. If Directory is empty string, download listing of current working directory.

If NameList is true, download only names of files in directory. (internally use NLST command instead LIST command)

If NameList is false, returned list is also parsed to FTPList property.


See also:
DataStream, DirectFile, PassiveMode