download multiple files using wildcards with WebClient.DownloadFile()

Discussion in 'ASP .Net' started by Web learner, Apr 18, 2006.

  1. Web learner

    Web learner Guest

    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
    Web learner, Apr 18, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Cheri Elkin

    WebClient DownloadFile problem

    Cheri Elkin, Nov 20, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    4,838
    Jon Paugh
    Nov 20, 2003
  2. Chris
    Replies:
    6
    Views:
    7,515
    Patrice
    Jul 13, 2004
  3. =?Utf-8?B?REVXcmlnaHRfQ0E=?=

    WebClient.DownloadFile only see's Local????

    =?Utf-8?B?REVXcmlnaHRfQ0E=?=, May 25, 2005, in forum: ASP .Net
    Replies:
    8
    Views:
    2,657
    Steven Cheng[MSFT]
    Jun 6, 2005
  4. Replies:
    1
    Views:
    957
    Joerg Jooss
    Oct 22, 2005
  5. A.M-SG
    Replies:
    2
    Views:
    5,421
    Kspatel
    Aug 31, 2009
Loading...

Share This Page