Problem with keepuptodate command line...

Advertisement

Cyprien
Guest

Problem with keepuptodate command line...

Hello,
I use winscp 3.7.6
i've write a small script :

option batch on
option confirm off
open root:admin@192.168.0.1:222
cd /root
option transfer automatic
option
keepuptodate c:\cynet /root/cynet
close
exit


When i run it with the command line :
winscp3 /console /script=cynet.txt
I get :

C:\Program Files\WinSCP3>winscp3 /console /script=cynet.txt
batch on
confirm off
Initialisation...
Searching for host...
Connecting to host...
Authenticating...
Using username "root".
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] root@192.168.0.1
/root
transfer automatic
batch on
confirm off
transfer automatic
synchdelete on
Watching for changes, press Ctrl-C to abort...
Scanning 'c:\cynet' for subdirectories...
Watching for changes in 3 directories...

And it stops forever at this line... :(
Thanx for your help...

Reply with quote

Advertisement

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

Re: Problem with keepuptodate command line...

Cyprien wrote:

And it stops forever at this line... :(
Yes, that's what it should do :-) Please read documentation. Maybe you wanted to use "synchronize" instead.

Reply with quote

martin
Site Admin
martin avatar

Re: Sorry !

Cyprien wrote:

I'm confuse... Thank you for the answer !! :oops:
I'm confused :-) Do you need anything more, or was my answer enough?

Reply with quote

Advertisement

You can post new topics in this forum