WebClient DownloadFile gets ALL files in directory?!? WebClient bug?

  • Thread starter Thread starter Jeremy
  • Start date Start date
J

Jeremy

I'm trying to download ONE file from a server using
WebClient.DownloadClient, however ALL files in the servers directory
are being downloaded.

There's nothing odd about my file's url, e.g.
"http://server.com/file.jpg", and I'm setting no other WebClient
properties. Just calling DownloadFile. Very simple. But, in
addition to the resuested file I get LOTS of other files I have no
interest in.

This happens with the MS example code for DownloadFile as well.

Any ideas? It seems like a bug in the WebClient class.


** REPLY TO: jj AT imtc DOT gatech DOT edu
 
I'm trying to download ONE file from a server using
WebClient.DownloadClient, however ALL files in the servers directory
are being downloaded.

There's nothing odd about my file's url, e.g.
"http://server.com/file.jpg", and I'm setting no other WebClient
properties. Just calling DownloadFile. Very simple. But, in
addition to the resuested file I get LOTS of other files I have no
interest in.

This happens with the MS example code for DownloadFile as well.

Any ideas? It seems like a bug in the WebClient class.


** REPLY TO: jj AT imtc DOT gatech DOT edu


The problem seems to be related to the ISS Web server bundled with XP
Pro. I can download an image from SlashDot.com and receive just that
image, but if I download a file from my workstation (running ISS) I
get all the files in the directory. Wierd...

** REPLY TO: jj AT imtc DOT gatech DOT edu
 
Back
Top