cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: download a zip file

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 1 May 2014 10:39:20 +0200

On Wed, Apr 30, 2014 at 11:01:27PM +0000, Danny Wong (dannwong) wrote:
> Hi Curl Users,
> I¢m trying to download a zip file from a website. Using the GUI, I can simple
> right click and save link as and save the zip file to my desktop. How can I
> perform the same thing using curl from cmd line?

curl comes with a built-in 21,000 word manual accessed with curl --manual
and extensive help on the web site at http://curl.haxx.se. The answer is in
both places. What you're probably looking for is
"curl -O http://example.com/example.zip"

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-05-01