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

Advertisement

naigamo
Joined:
Posts:
1

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

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

Reply with quote

Advertisement

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

Re: C# How to remote muti getfile with file abc*.txt

session.GetFiles("/tmp/abc*.txt", PathPoolFiles, true, transferOptions);

Reply with quote

Advertisement

You can post new topics in this forum