Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upload Folder FTP
#1
Guys,

With the line below I can upload a file to a FTP Server:

if(!f.FilePut("C:\MAP\BRA_Daily_USA_7.png" "BRA_Daily_USA_7.png")) end "failed to download" 

But how can I upload the entire folder (C:MAP) and not only one file?
#2
Option 1: get files in the folder and upload each. Very slow if many files.
Option 2: zip the folder, upload the zip file, and unzip on web server. If it is your website. Unzip manually or create a script on server.
#3
Ok. Thank you, Gintaras.


Forum Jump:


Users browsing this thread: 2 Guest(s)