Retrieves a file from an FTP site a
Retrieves a file from an FTP site and allows trapping the OnFTPBufferUpdate event. This event allows for status information and also cancellation of a download.
numeric - API error code
API Error result codes can be retrieved with wwGetSystemErrorMsg()
The source file to retrieve from the server. This is a server relative path based on the active directory.
The target file to save it to on the local machine/network.
Fires OnFTPBufferUpdate events which you can capture to provide progress information on your download.
o=create("wwFTP") o.FTPConnect("ftp.west-wind.com") o.FTPGetFileEx("/downloads/pkzip.exe","c:\temp\pkzip.exe") o.FTPClose()
See also:Class wwFTP | wwFTP::OnFTPBufferUpdate
Comment or report problem with topic