Post a reply

Options
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)

Options

Topic review

FStopFive5@gmail.com

Help with Automated Transfer/Synchronize

Hello all,

I’m hoping someone can help me wrap my head around how to schedule an automated transfer/synchronize from one SFTP server to another (in this case Production and Development).

In Production (which I assume would be remote) there are 2 files that get automatically uploaded each day. Once those two files are processed through an interface they are appended with a timestamp and moved into an archive folder. As an example:

Example_file_20170305_1200.csv

Example_file_20170305_1700.csv

What I’d like to do is schedule an automatic sync twice daily to copy both files over to a specific folder in our Development environment (which I assume would be local) and in the process, strip out the timestamp so that once the file is moved to our Dev server it would just look like this:

Example_file.csv

Both environments are SFTP and accessible via WinSCP. Maybe this is all really simple and I’m overthinking all of this…I just don’t want to inadvertently screw something up.

Any help or guidance would be greatly appreciated!

Cheers.