Topic "Automatic Synchornisation to SFTP client and local file"

Author Message
[View user's profile]

Joined: 2013-04-26
Posts: 1
Hey guys.

I am a definite newbie when it come to this.

I have created a text file to synchonize the files both on my local machine as well as on my SFTP site.
This is the sync.txt file

option batch on
option confirm off
open Test
synchronize both "C:\Testing" "/AEU/Testing"

I have created a bat file to run winSCP and the txt file but it doesnt seem to work.

.bat file
C:\Program Files\WinSCP\winscp.exe/console/script=C:\Users\admin\Desktop\sync.txt /log=C:\synclog.txt

Can someone assist me? Im looking to have both folders mirrored, so if the one has a file loaded to it, it automatically syncs to the otherone. I am looking to run this scripting file every 5 minutes.

Is this possible? any assistance will be appreciated.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
but it doesnt seem to work

What does it do?

Without more information, I can only point you to:
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License