FTPWI - lainz/lainzcodestudio GitHub Wiki

#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)