Synchronize using filemask
I'm using the below to copy various files down from a SFTP site. The first line works fine in that it ignores subdirectories
synchronize local -filemask="*.pdf";"| */" C:\Root\Folder /folder
However for another download I want to pick up files within subdirectories but download all to the same folder, e.g., C:\Root\Folder. At the moment it's downloading the whole file structure which I don't want.
synchronize local -filemask="*.pdf";"| */" C:\Root\Folder /folder
However for another download I want to pick up files within subdirectories but download all to the same folder, e.g., C:\Root\Folder. At the moment it's downloading the whole file structure which I don't want.