upload only .zip files that are older than 2 days

Advertisement

sumation
Guest

upload only .zip files that are older than 2 days

hi All,

how can i do a script in WinSCP that uploads .zip files that are more than 2 days old
thanks

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,227
Location:
Prague, Czechia

Re: upload only .zip files that are older than 2 days

This is what i did not sure if correct because it does notwork.

option batch abort
option confirm off
put *.zip<1D C:\
exit
It's difficult to help you if you do not tell us "what does not work".
Anyway, the script lacks open command.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum