Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

martin

Re: How to synchronize only root and 1st subfolder only

solicom wrote:

Do you mean add path_from_root from my local or from my Remote FTP?

Source path, so in your case the remote directory. Though, it does not hurt to add the corresponding local path too.
solicom

Re: How to synchronize only root and 1st subfolder only

martin wrote:

Something like this should work:
-filemask="*/;*.exe|/path_from_root/folder/*/*/*/"
You need to use an absolute path in the exclude mask.



Do you mean add path_from_root from my local or from my Remote FTP?
I have current code:

synchronize local -filemask="*/;*.exe|/path_from_root/folder/*/*/*/" D:\fsdash\diags\SYNC\temp /diags/Temp/Magellan
martin

Re: How to synchronize only root and 1st subfolder only

Something like this should work:
-filemask="*/;*.exe|/path_from_root/folder/*/*/*/"
You need to use an absolute path in the exclude mask.
solicom

How to synchronize only root and 1st subfolder only

I want to synchronize all .EXE files into my local directory but only from some folders of my FTP directory. I want to exclude all second-level or more subdirectories.
My FTP has FOLDER/SUBFOLDER1/SUBFOLDER2/SUBFOLDER3/subfolder4, and I just want to get .EXE files from FOLDER/SUBFOLDER1/subfolder2

Here is my command line:

synchronize local -filemask="*/;*.exe;" D:\fsdash\bck /folder/subfolder1/subfolder2

My results are:

using above command line I get all .EXE files from any folder and subfolder from my FTP to my local.

using: winscp513

THX