Topic "Problem with keepuptodate command line..."

Author Message
Cyprien

Guest


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... Sad
Thanx for your help...
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Cyprien wrote:
And it stops forever at this line... Sad

Yes, that's what it should do Smile Please read documentation. Maybe you wanted to use "synchronize" instead.
_________________
Martin Prikryl
Cyprien

Guest


I'm confuse... Thank you for the answer !! Embarassed
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Cyprien wrote:
I'm confuse... Thank you for the answer !! Embarassed

I'm confused Smile Do you need anything more, or was my answer enough?
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License