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

martin

That's correct, just that you can omit the leading *.* actually and use just |*.tmp.

You have also omitted the "equal sign", but I assume you actually use it, otherwise it cannot work.

The correct and simplest syntax is -filemask=|*.tmp.
AlLeX_

I have Found it!!

-filemask *.*|*.tmp

This works!

Thank you once again
AlLeX_

Thank you very much for your answer.


Is there a possibilty to exclude a file via its suffix with -filemask switch? This is not mentioned in the documentation.

For exaple: I have to download all files except those with *.tmp sufix.

-delete -filemask <> *.tmp (this does not work) - something like this ?
AlLeX_

Exclude files from download via filemask

Hello,

I am getting all files from a SFTP server with a script but I have te exclude a certain file type from download. For example *temp files.

Thanks a lot for your help