05-22-2010, 03:57 PM
Macro Macro1377
If can download without FTP, easier would be to use function IntGetFile.
;Declare variable and start FTP session
Ftp f.Connect("ftp.server.com" "myname" "password")
;If need, change current ftp directory to the directory where the file is
if(!f.DirSet("public_html/zipfiles")) end "failed to set FTP current directory"
;Download to desktop
if(!f.FileGet("filename.zip" "$desktop$\filename.zip")) end "failed to download"
mes "downloaded"
If can download without FTP, easier would be to use function IntGetFile.