Post a reply

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

naoalee

Re: Synchronize a file in the root directory

martin wrote:

You have to exclude the subfolders.
Also option include is deprecated, use -filemask instead.

synchronize local -filemask=temp.txt|*/ -criteria=time C:\ShareFile / -mirror



I do it. Tks you so much !!!
martin

Re: Synchronize a file in the root directory

You have to exclude the subfolders.
Also option include is deprecated, use -filemask instead.

synchronize local -filemask=temp.txt|*/ -criteria=time C:\ShareFile / -mirror
Guest

Synchronize a file in the root directory

Hi guy

i want synchronize one file only in the root directory but it synchronize all sub directory.
So how i can synchronize only one file ?? this my script:

open ftp://aaaaaaaa@xxxx.xxxxx.xxx
option include temp.txt
synchronize local -criteria=time C:\ShareFile / -mirror
synchronize local -criteria=size C:\ShareFile / -mirror

Example directory tree:
|-/temp.txt
|-/AA/temp.txt
|-/BB/temp.txt

I just want synchronize one file only in the root directory, don't synchronize file in sub directory AA and BB.

Tks !!!