Topic "Syncronise automation doesn't update files"

Author Message
guest_Benoit

Guest


Hi there,
I'm trying to syncronise a folder in my FTP server with a local folder.
So, I use scripting method.
Code:
@echo off
WinSCP.exe /console /script=script_syncro.txt

There my script :
Code:
open sftp://benoit:****@***.***.***.***
synchronize local -mirror -delete "C:\Users\Benoit\Cloud" "/home/cloud"
keepuptodate "C:\Users\Benoit\Cloud" "/home/cloud"
exit

As you can see, I start an update of my local folder from the server and then, I keep up to date the server with the local folder.
It seems perfect to me, but when I start the script : ok, It check all differences : see first image attachment.

Then, It say : see second image attachment.
But, I have : see third image attachment.

And, If I modify the local folder like that, It doesn't work more (I update FTP client before taking screenshot). At least, It detect that I modify the folder... but doesn't upload.

Thanks in advance Smile
2.png (2.9 KB)

Description: Third image

2.png

1.png (20.93 KB)

Description: First image

1.png

3.png (91.62 KB) [Download]

Description: Third image

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
Duplicate post:
http://winscp.net/forum/viewtopic.php?t=13187
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