wwSFtpClient::DownloadFile

Downloads a file from the FTP server to a local file.

File Time Stamps are preserved on download if permissions allow

o.DownloadFile(lcFtpPath, lcTargetFile)

Returns

.T. or .F.

Parameters

lcFtpPath
Fully qualified FTP server path. Prefer to use / root based syntax as paths can be questionable.

Examples:

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

lcLocalPath
Local disk path to where the downloaded file will be stored.

See also