Posted: 2015-07-24 19:32
We have an environment where each location scans into a directory structure on a local pc. They already have WINSCP and a profile that logs them into a Windows IIS-based SFTP server in user isolation mode. The user manually moves new files from the PC to the server. Unfortunately the users keep doing this incorrectly which is creating a lot of manual rework. Note that the files on the SFTP server are automatically processed and moved to another location (not on that server).
We would like to set up a script that runs periodically and copies (not move) files that are new since the last time the script ran from the pc to the server maintaining the directory structure...
Note that this runs in a HIPAA compliant environment and is an urgent need for my client. Please contact me if you can help.
Location: Prague, Czechia
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).
You can also use an absolute time like:
For a general introduction to WinSCP scripting, see:
To schedule your script, see:
You can post new topics in this forum
And it's free!