EnglishРусский  
The project is closed! You can look at a new scripting language. It is available on GitHub.
Also, try our open source cross-platform automation software.

Ads

Installer and installation software
Commercial and Freeware installers.

ftp.list

List of files. The method retrieves a list of files and directories from the FTP server.

method uint ftp.list (
   str data,
   str mode
)

Parameters

list Result string.
cmd The command is used to retrieve a list of files.
"LIST"Returns a list of files in the format of the LIST command.
"NLST"Returns a list of filenames with no other information.
"MLSD"Returns a list of files in the format of the MLSD command.

Return value

If the function succeeds, the return value is 1. If the function fails, the return value is 0.

Related links

Source