So everyday I download multiple .zip files from an SFTP server. Also everyday our client uploads new .zip files to this SFTP server, but is not willing to delete the old files. So I download the same files of the last few days + the files which got uploaded today.
I tried a lot but didn't have any success. This is my short script right now (which downloads way to many files and eats my storage space up):
open sftp://user:email@example.com/ -hostkey=*
synchronize local D:/Test\Download /sftp-server/PDF-files/
I couldn't find an option to download files per date, so maybe you can help me further.
Also important, the .zip files are named:
I tried to add
at the end of the path of the files, but that didn't work out.