Topic "C# How to remote muti getfile with file abc*.txt"

Author Message
naigamo
[View user's profile]

Joined: 2012-09-26
Posts: 1
On remote server have file

abc1.txt
aa1.txt
abc2.txt

How to get multi file only abc1.txt and abc2.txt with pattern abc*.txt
Please show sample code C# .NET

transferResult = session.GetFiles("/tmp/*", PathPoolFiles, true, transferOptions);

Thank
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24552
Location: Prague, Czechia
session.GetFiles("/tmp/abc*.txt", PathPoolFiles, true, transferOptions);
_________________
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