cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: https download and run exe file

From: Kjell Ericson <Kjell.Ericson_at_haxx.se>
Date: Thu, 15 Feb 2007 18:50:02 +0100 (CET)

On Thu, 15 Feb 2007, wolfgang_at_coololdman.com wrote:

> I can not figure out with what option I have to replace the -O to
> make the exe file automatically running after download.

Well. Do the bat file like this:

---
curl -k -# -O -u user:password https://mydomain.com/drive/upa_file.exe
upa_file.exe
del upa_file.exe
---
> Is this not possible?
Well, the browser also stores the file somewhere in order to run it.  So 
neither curl nor any browser has this option.
   // Kjell
Received on 2007-02-15