Topic "Multiple file masks"

Author Message
rc08

Guest


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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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]";
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License