cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: https download and run exe file

From: <wolfgang_at_coololdman.com>
Date: Thu, 15 Feb 2007 13:51:25 -0500

Thanks, that works, it's always the simple solutions! :-)

Thanks again, Wolfgang

Quoting Kjell Ericson <Kjell.Ericson_at_haxx.se>:

 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