Method SFTPClient():putFile() Foundation
Uploads a local file.
:putFile( <cLocalFile>, [<cRemoteFile>], [<bProgressBlock>] ) --> lSuccess
{|nSent, nTotal| ... }
.T. (true) if the operation was successfull and .F. (false) otherwise.
Uploads a local file to the file to the SFTP server. The method opens and closes the source file automatically.
Unlike :put(), this method reads the file in chunks, optimizing memory consumption for large files.
In case of an error condition when opening the source file, use :getLastError() and :getLastMessage() methods to obtain detailed error information.
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.