I need to synchronize files from remote to local directory using the following command
synchronize local "D:\ftp\OUT" /out
It works fine but is there a way to download files which their dates of creation are today?
I need to synchronize files from remote to local directory using the following command
synchronize local "D:\ftp\OUT" /out
It works fine but is there a way to download files which their dates of creation are today?
Use a file mask with a time constraint and today
keyword:
synchronize local -filemask=">=today" "D:\ftp\OUT" /out
This syntax is supported by WinSCP 5.15 and newer only.
In earlier versions of WinSCP, you can use the %TIMESTAMP%
syntax to create the today's constraint.
synchronize local -filemask=">=%TIMESTAMP#yyyy-mm-dd%" "D:\ftp\OUT" /out
Further reading: