how to set the filter

Advertisement

lionelluo
Guest

how to set the filter

hi,
how to set the download filter:
RPTXXX.313.downloaded%FT
RPTXXX.313

so only download file RPTXXX.313?

Thanks...

Reply with quote

Advertisement

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

Re: how to set the filter

What is RPTXXX.313? Is a mask (the X's). Or is it a file name?

If it is a filename, you do not need any mask (filter). Just download the RPTXXX.313.
If it is a mask, just replace the X's with ?'s: RPT???.313 or with *: RPT*.313.

Reply with quote

lionelluo
Guest

Re: how to set the filter

martin wrote:

What is RPTXXX.313? Is a mask (the X's). Or is it a file name?

If it is a filename, you do not need any mask (filter). Just download the RPTXXX.313.
If it is a mask, just replace the X's with ?'s: RPT???.313 or with *: RPT*.313.

thanks for the help.

313 is from 001 to 999 number
RPTn.nnn: n is from 1-9

how to do the mask?

Reply with quote

Guest

Re: how to set the filter

lionelluo wrote:

martin wrote:

What is RPTXXX.313? Is a mask (the X's). Or is it a file name?

If it is a filename, you do not need any mask (filter). Just download the RPTXXX.313.
If it is a mask, just replace the X's with ?'s: RPT???.313 or with *: RPT*.313.

thanks for the help.

313 is from 001 to 999 number
RPTn.nnn: n is from 1-9

how to do the mask?

Would it be possible to downloads all files not ending in .downloaded instead of picking those up with .XXX? XXX is from 000-999

Reply with quote

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

Re: how to set the filter

lionelluo wrote:

313 is from 001 to 999 number
RPTn.nnn: n is from 1-9

how to do the mask?

RPT[0-9].[0-9][0-9][0-9]

Would it be possible to downloads all files not ending in .downloaded instead of picking those up with .XXX? XXX is from 000-999

Yes, use an exclude mask:

get * -filemask=|*.downloaded

https://winscp.net/eng/docs/file_mask#include_exclude

Reply with quote

Advertisement

You can post new topics in this forum