Gentee Programming Language > Documentation > Libraries | Download documentation |
The method retrieves a list of files and directories from the FTP server.
uint ftp.list( str list, str cmd )
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.
Nonzero if initialization was successful; otherwise 0.
See also![]() |
![]() Copyright © 2004-2006 Gentee Inc. All rights reserved. ![]() |