Posted: 2005-10-19 20:59
I am running winscp3.com on the command line to manually synchronize a directory over SFTP. This works great.
What I want to do however, is schedule a job to run this at regular intervals and log the output to a text file.
I created a batch file to do this that contains:
WinSCP3.com /console /script=sync.txt >> sync.log
Problem is that because of the way winscp3.com's synchronize outputs its file transfers, updating its progress with control characters, only one of the files transferred is ever written to the sync.log.
Starting the session...
Reading remote directory...
Active session:  user@host
C:\Documents and Settings\localdir
Local 'dir' => Remote 'dir'
...\Test\test1.txt | 0 kB | 0.0 kB/s | ascii | 100%
Does anyone know of a way to record all of the output?
Location: Prague, Czechia
I'll try to fix this in the next version.
You can post new topics in this forum
And it's free!