Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > download multiple files using wildcards with WebClient.DownloadFile()

Reply
Thread Tools

download multiple files using wildcards with WebClient.DownloadFile()

 
 
Web learner
Guest
Posts: n/a
 
      04-18-2006
Individual file download works fine. But when I try to download multiple
files, for example using wildcards in the following code, I get error. How
to solve it?

System.Net.WebClient Client = new System.Net.WebClient();
Client.DownloadFile("ftp://123.123.456.0/*.RPT",
@"C:\downloadedFiles\*.RPT");

Are there other possibilities??

web_learner


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disadvantage of using wildcards in import statement. Dipankar Java 17 08-01-2009 02:36 PM
globbing multiple wildcards utabintarbo@gmail.com Python 5 05-07-2005 10:40 PM
Using wildcards... Harlin Seritt Python 4 05-02-2005 10:00 PM
Text files read multiple files into single file, and then recreate the multiple files googlinggoogler@hotmail.com Python 4 02-13-2005 05:44 PM
Struts: Using Wildcards in ActionMapping Josh Martin Java 6 11-23-2003 06:06 PM



Advertisments