Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
please write some more documentation
#15
In QM 2.3.2.7 most internet functions can show progress dialog.

Macro Macro1415
Code:
Copy      Help
;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)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)