| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
url malformed error with simple curl usage
From: Scott Haneda <talklists_at_newgeo.com>
Date: Fri, 19 Mar 2010 20:47:59 -0700
Hello curl users,
Taking an image at a resource:
I want to download that image, or compressed file, iso, whatever.
The man page states I have two options for this:
I would like to have the file downloaded and maintain the filename. According to the man page that means that -o is out, but -O is in:
-O/--remote-name
$cd ~/Downloads/
$ls -la logo.gif
That worked; downloaded the file to the current working directory and kept the file name. But what if I want to download the file to some other location?
$curl http://www.google.com/intl/en_ALL/images/logo.gif -O ~/Desktop
I have tried several variations, none of which I can get to work. The best I can do is:
Is this not possible in one command?
-- Scott * If you contact me off list replace talklists@ with scott@ * ------------------------------------------------------------------- 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.htmlReceived on 2010-03-20 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info