Multiple file masks

Advertisement

rc08
Guest

Multiple file masks

In winscp scipt, can it be possible to give multiple masks eg

// Mask of files to search for
var FILEMASK = "*.gpg";

So, above command consider only gpg files, but I need .gpg and .csv files. How to do this in one file mask.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,461
Location:
Prague, Czechia

Re: Multiple file masks

You can run two consecutive commands with different masks.

Or you can get close, but not exactly, to what you ask for by doing:
var FILEMASK = "*.[gc][ps][gv]";

Reply with quote

Advertisement

You can post new topics in this forum