Simple FTP retrieval method. This method retrieves a file from an FTP server with a single method call. This method is synchronous and does not fire any events.
Win32API Error number
The server to connect to. Example: ftp.west.wind.com or 18.104.22.168
Source File on the FTP Server.
Target file on the local system.
File transfer format. Defaults to Binary (2) . AscII - 1
Optional - Username when connecting to a secure directory.
Optional - Password when connecting to a secure directory
This method provides no mechanism for reporting progress information.
o=create("wwFTP") o.FTPGetFile("ftp.west-wind.com","/downloads/pkzip.exe",; "c:\temp\pkzip.exe")
See also:Class wwftp | Class wwFtp
Comment or report problem with topic