cURL / Mailing Lists / curl-users / Single Mail


Re: download image without direct link

From: Daniel Stenberg <>
Date: Sat, 9 Apr 2011 19:58:19 +0200 (CEST)

On Sat, 9 Apr 2011, Doug McNutt wrote:

> I find it a PITA to have to enter the file name twice for that.

... and that's why we introduced -J a while ago.

> /usr/bin/ curl -o $HOME/dwn/eu_#1.jpeg
> "<>{201104091000}&ir=False"
> which allows creation of a meaningful file name from a single entry.

Yes, that's another way you can do it.

> Note the Linux shell though.

That feature is done entirely by curl and works with any shell.

> I'm also not so sure that the code is intended to work for a single instance
> that way.

It is!

List admin:
Received on 2011-04-09