Topic "change detected but not synchronized on keepuptodate mode"

Author Message
scriptholic
[View user's profile]

Joined: 2012-02-02
Posts: 2
Location: indonesia
Hi,

i have problem with /keepuptodate on scripting mode.
here is content of my scripting file, sync.bat :

Code:
option batch abort
option confirm off
open ftp://user:password@localhost:21
keepuptodate -delete c:\_Source /Destination
close
exit



it works normally on add and delete file, but when the content of the file changed, winscp not sync changed file instead only tells
Quote:
Change in c:\_Source detected
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Have you read this FAQ?
https://winscp.net/eng/docs/faq_synchronize
_________________
Martin Prikryl
scriptholic
[View user's profile]

Joined: 2012-02-02
Posts: 2
Location: indonesia
Hi prikryl,

Thanks for your reply..

I just read it...so there is a possibility caused by 'preserving timestamps',so i will check it.
but, when using GUI mode (not scripting), everythings is ok. I mean change detected and then synchronized.
so, i guess no problems with my FTP server related to 'preserving timestamps'.

is there any parameters or switches for 'preserve timestamps,preserve remote timestamps, etc' in scripting mode like on GUI mode?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Please post a full log file both from GUI and scripting showing one update.
_________________
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