Post a reply

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Trying to only download files which got uploaded today

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 s -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.