Skip to content
lainz edited this page Aug 18, 2016 · 1 revision

#FTPWI.Download Downloads a file from an FTP size.

Parameters: URL, FileName, UserName, Password, Port

FTPWI.Download("ftp://ftp.myftpsite.com/updates/myfile.txt", "C:\\temp\\myfile.txt", "anonymous", "guest@", 21)

#FTPWI.GetFileSize Gets the size of a file located on an FTP site.

Parameters: URL, UserName, Password, Port

result_bytes = FTPWI.GetFileSize("ftp://ftp.myftpsite.com/updates/myfile.txt", "anonymous", "guest@", 21)
Clone this wiki locally