Topic "Multiple file masks"

Author Message


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.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24755
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

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License