Method FTPClient():getFile() Professional
Download a file from the FTP server.
:getFile( <cSourceFileName>, [<cTargetFileName>], [<bProgressBlock>] ) --> lSuccess
The method returns .T. (true) when the file could be downloaded from the FTP server, otherwise .F. (false) is returned.
The method :getFile() transfers a file from the FTP server to the local drive. When a connection to the FTP server does not exist, an attempt to establish a connection is made. The file is then transferred to the client. If the local file specified in <cTargetFileName> already exists, it is overwritten. :getFile() can transfer files of arbitrary size.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.