This is an old revision of the document!
File Masks
To use some feature of WinSCP you need to specify file masks. Such features are:
- Text file mask for text mode transfers.
- Ignore mask for transfers.
- Selecting/unselecting files by file mask.
Advertisement
You can specify several masks separated by semicolon (;
).
When specifing the file mask you can use following patterns:
Pattern | Meaning | Example |
---|---|---|
* | Matches any number (including zero) of arbitrary characters. | *.doc; about*.html |
? | Matches exactly one arbitrary character. | photo????.jpg |
[abc] | Matches one character from the set. | index_[abc].html |
[a-z] | Matches one character from the range. | index_[a-z].html |
All other characters are treated literally.