Topic "How to synchronize"

Author Message
Leon

Guest


I try synchronize my folder with FTP-server by using script:

option batch on
option confirm on
open ftp://Leonid.romanov:Brass8*@10.11.251.2:21
synchronize local d:\rom\regina \ -delete -criteria="Modification time"
close

But winscp419.exe does not copied newest files with the same names. Why? How can I tell them to do that? And haw can I use "-criteria" for this?

Thank
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Quote:
synchronize local d:\rom\regina \ -delete -criteria="Modification time"

Path to remote directory should be / not \.
Also it is -criteria=time, there's no "modification time" option.

Quote:
But winscp419.exe does not copied newest files with the same names. Why?

Please read FAQ. If that does not help, come back.
_________________
Martin Prikryl
Leon

Guest


Quote:
Path to remote directory should be / not \.
Also it is -criteria=time, there's no "modification time" option.


Thanks!
As about "\" - it works fine (in WXP). But WHAT and HOW must I write in "-criteria=" ?
I'd not found the answer for this question in DOC and FAQ Sad(
To my previous post: synchronization works OK,- my mistake took place becase FAR-manager shows some data-time values with error.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Leon wrote:
To my previous post: synchronization works OK,- my mistake took place becase FAR-manager shows some data-time values with error.

OK, so are you having any problems now? If you do, please state clearly what they are.
_________________
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