Method FTPClient():put() Professional
Writes a character string into a file on the FTP server.
:put( <cFilename>, <cContents> ) --> lSuccess
The method returns .T. (true) when the file could be created on the FTP server, otherwise .F. (false) is returned.
This method uploads a character string from a client computer to an FTP server and stores it in a file on the server. The string may contain textual or binary data. When a connection to the FTP server does not exist, an attempt to establish a connection is made. The string is then transferred to the server and written into the file <cFilename>. An existing file will be overwritten.
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.