Download specific files by name

Advertisement

floody
Joined:
Posts:
2
Location:
Denmark

Download specific files by name

Hi all,

Currently I am using the following method to download multiple files based on file name e.g. report_*.xlsx.
Session.GetFiles
This works fine, but in some cases I would like specific which files to download e.g. Report_1.xlsx, Report_50.xlsx...

Is this possible using the above (or similar method) without going into a loop?

Cheers

Reply with quote

Advertisement

floody
Joined:
Posts:
2
Location:
Denmark

Re: Download specific files by name

Thanks Martin,
The FileMask works perfectly.
I did try the loop but would have needed to handle the TransferResult differently.
Cheers

Reply with quote

Advertisement

You can post new topics in this forum