07-11-2010, 08:30 AM
In QM 2.3.2.7 most internet functions can show progress dialog.
Macro Macro1415
Don't need to change existing code. Just insert
f.SetProgressDialog(1)
Macro Macro1415
;1. Download file.
;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
f.SetProgressDialog(1)
if(!f.FileGet("filename.zip" "$desktop$\filename.zip")) end "failed to download"
mes "downloaded"
Don't need to change existing code. Just insert
f.SetProgressDialog(1)