Re: Downloading .exes with WebClient.DownloadFile

From: Dave (noSpamdlevineNNTP2_at_wi.rr.com)
Date: 04/12/04


Date: Mon, 12 Apr 2004 04:26:56 -0500

Check to see if the server allows you to download exe types. It may be
blocking downloads of executables.

"James" <jamesgurung@newsgroups.nospam> wrote in message
news:7F607A11-4393-4098-AE0D-51F7B4310075@microsoft.com...
> I'm having a problem using the System.Net.WebClient to download .exes from
a web server. I'm testing everything on localhost, and the same code works
fine with all other types of file. I even tried renaming the .exe extension
of the file in question to .exe2, and that worked! Is there a security
setting that doesn't let me download executables (the only error message I
get is a timeout)? If so, is there a way to override it... I'm making a tool
to update my software product over the Internet, and being able to download
.exes is essential!
>
> Any suggestions, please?



Relevant Pages

  • Href to .exe gives a 404 file not found error
    ... message when a link points to an exe. ... to download the executable to the client. ... The option 'Allow Authors to upload executables" is ... Anonymous access is also granted to the executable file. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Releasing my VB.NET app over the intranet
    ... of the primary EXE and when compiled I am copying the contents ... the directory and open a browser on the web server and type ... > another dll, we need to put the dll in the same directory, so that the clr ... > The executable will be downloaded to the assembly download cache on the ...
    (microsoft.public.dotnet.framework)
  • Re: self-autoupdate vb exe
    ... I have two exe files...the main executable and another file I call ... TpaPhx.exe and it operates only with a valid command line. ... same folder on my server as the updated file to download. ... the update as MyApp.exe and the phx script into the same directory. ...
    (microsoft.public.vb.winapi)
  • Re: serving .exe files in IIS 6.0
    ... there is a 404 with suberror 3 that indicates that IIS tried to download the ... then adding .exe as a MIME type would have corrected it. ...
    (microsoft.public.inetserver.iis.security)
  • bindingRedirect and COM-interop
    ... I think it's supposed to work with unmanged executables. ... LOG: Where-ref bind. ... LOG: Assembly download was successful. ... Host configuration file not found. ...
    (microsoft.public.dotnet.framework.interop)