Re: Need help creating a script
You can upload all files modified/created in a time range using:
The above example uploads all files created in the last day (24 hours).
See https://winscp.net/eng/docs/file_mask
You can also use an absolute time like:
For a general introduction to WinSCP scripting, see:
https://winscp.net/eng/docs/guide_automation
To schedule your script, see:
https://winscp.net/eng/docs/guide_schedule
put -filemask="*>=1D" c:\toupload\*
The above example uploads all files created in the last day (24 hours).
See https://winscp.net/eng/docs/file_mask
You can also use an absolute time like:
put -filemask="*>=2015-07-27 15:00:00" c:\toupload\*
For a general introduction to WinSCP scripting, see:
https://winscp.net/eng/docs/guide_automation
To schedule your script, see:
https://winscp.net/eng/docs/guide_schedule