Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

kalizi

Keep up to date stuck on checking for changes

Hi there,
I'm currently testing keepuptodate command in my local environment in order to deploy correct full command on a server and I got a problem with keepuptodate.
I'm on Windows 10 with "Xlight FTP Server" as test server, and I saved access as "test_local" on WinSCP (I know it's not a good practice but it's just a test)
The command i wrote in the shell is
WinSCP.exe test_local /Console /Script=script.txt

and the script.txt contains
option batch on

option confirm off
option transfer automatic
keepuptodate -delete F:\mirror_test /
close
exit

But after launching the script, the console stuck on "Controllo modifiche nelle cartelle 1...", I have italian WinSCP so must be something like "Checking changes in folders 1...".

I also tried by logging the script with the
/log="F:\WinSCP.log"
option and here's the log
. 2020-03-08 15:07:06.590 --------------------------------------------------------------------------

. 2020-03-08 15:07:06.590 Using FTP protocol.
. 2020-03-08 15:07:06.590 Doing startup conversation with host.
> 2020-03-08 15:07:06.591 PWD
< 2020-03-08 15:07:06.690 257 "/"
. 2020-03-08 15:07:06.691 Getting current directory name.
. 2020-03-08 15:07:06.691 Startup conversation with host finished.
< 2020-03-08 15:07:06.691 Script: Sessione attiva: [1] anonymous@192.168.1.81
> 2020-03-08 15:07:06.692 Script: option transfer binary
< 2020-03-08 15:07:06.692 Script: transfer        binary   
> 2020-03-08 15:07:06.693 Script: keepuptodate F:\mirror_test /
< 2020-03-08 15:07:06.693 Script: Controllo modifiche attivato, premi 'Ctrl-C' per interrompere...
< 2020-03-08 15:07:06.694 Script: Esplorazione sottocartelle di 'F:\mirror_test'...
. 2020-03-08 15:07:06.694 Keep up to date: Esplorazione sottocartelle di 'F:\mirror_test'...
< 2020-03-08 15:07:06.705 Script: Controllo modifiche nelle cartelle 1...
. 2020-03-08 15:07:06.707 Keep up to date: Controllo modifiche nelle cartelle 1...
. 2020-03-08 15:07:36.532 Sending dummy command to keep session alive.
> 2020-03-08 15:07:36.532 TYPE A
< 2020-03-08 15:07:37.032 200 Type set to A.


In my mirror_test folder I just have an image of 23KB and the root of my FTP it's empty.

Is there something I'm doing wrong?