How to synchronize

Advertisement

Leon
Guest

How to synchronize

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,661
Location:
Prague, Czechia

Re: How to synchronize

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.

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

Reply with quote

Leon
Guest

Re: How to synchronize

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 :((
To my previous post: synchronization works OK,- my mistake took place becase FAR-manager shows some data-time values with error.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,661
Location:
Prague, Czechia

Re: How to synchronize

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

Reply with quote

Advertisement

You can post new topics in this forum