wwFtpClient::UploadFile

Uploads a file to the server from a local file.

o.wwFtpClient.UploadFile(lcLocalFile, lcFtpPath)

Return Value

.T. or .F. - cErrorMsg holds error info on .F.

Parameters

lcLocalFile
A local file system path. File should be fully qualified.

lcFtpPath
The FTP path that the file should be stored to. Prefer to use / root based paths since current folder pathing may not always be obvious.

Examples:

WestwindClientTools.zip
/WestwindClientTools.zip
/Tools/jsMinifier.zip

See also:

Class wwSftpClient

© West Wind Technologies, 2024 • Updated: 06/02/24
Comment or report problem with topic