Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
please write some more documentation
#7
Macro Macro1377
Code:
Copy      Help
;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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)