Crystal
Crystal

Reputation: 11

How to download multiple files with a wildcard pattern using webclient DownloadFile?

How to download multiple files with a wildcard pattern using webclient DownloadFile? Like project* from https://www.xyz.com.

Upvotes: 1

Views: 864

Answers (1)

Wayne Brantley
Wayne Brantley

Reputation: 694

You cannot iterate over the list of files from a URL as there is no way to 'retrieve a list of files' from an arbitrary URL. You could have the webserver create a JSON/XML result of all files and you could then parse that?

Upvotes: 1

Related Questions