Script

FTP

The professional tool to automate FTP, SFTP, FTPS

and schedule FTP batch jobs

MENU MENU
Missing any feature or command? Post your ideas here. Suggestions are welcome.
The 5th parameter of the SYNC command should allow multiple masks.

Thanks
Vaclav
Yes, I completely agree. In the meantime you can achieve the same result calling SYNC multiple times (as you probably know)
FTP Script
  1. # Connect to FTP server
  2. OPENHOST("ftp.myhost.com","myuser","mypassword")
  3.  
  4. # Download new or modified excel files
  5. SYNC("C:\accounting","/accounting",DOWNLOAD,SUBDIRS,"*.xls")
  6. SYNC("C:\accounting","/accounting",DOWNLOAD,SUBDIRS,"*.xlsx")
  7.  
  8. # Close connection