Will WinSCP do this: Auto sync folders on an AWS EC2 server to Win 10 then FTP to shared hosting

Advertisement

Colink
Joined:
Posts:
5

Will WinSCP do this: Auto sync folders on an AWS EC2 server to Win 10 then FTP to shared hosting

It looks like WinSCP will do what I need, I just want to make sure I have not misunderstood its capabilities.

I have two folders with sub folders on AWS EC2 server that new files are auto added to or updated several times per day.

I want a copy of all new or updated files synced with two matching folders on my Win 10 PC.

I then want to FTP any new or updated files in one of these folders to my website on my Linux shared hosting account.

I want both actions to happen automatically at set intervals.

I see there is a guide for automation and for connecting to EC2.

Is this a straightforward set of operations?

Can most of this be done via the GUI interface, or do I need to do much script writing or enter any command line code (both of which I rarely do, but can follow a tutorial)?

Thanks for reading.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: Will WinSCP do this: Auto sync folders on an AWS EC2 server to Win 10 then FTP to shared hosting

I want a copy of all new or updated files synced with two matching folders on my Win 10 PC.
This step is easy.

I then want to FTP any new or updated files in one of these folders to my website on my Linux shared hosting account.
Now it depends, if you really need to re-apply the changes from the previous step (that's not easy, but doable), or if just want to do a new blind synchronization of the Windows 10 folder to the remote Unix machine (that's basically the same task as the first one, hence easy).

In any case, as you need to schedule the task, you have to write a script. WinSCP can generate it for you:
https://winscp.net/eng/docs/ui_generateurl

Just make sure you select "New and updated files only" in transfer settings, before getting the script generated:
https://winscp.net/eng/docs/ui_transfer_custom

For a scheduling part, see:
https://winscp.net/eng/docs/guide_schedule

Reply with quote

Advertisement

You can post new topics in this forum