curl-users
Re: Patch to use filename from Content-disposition header
From: Kamil Dudka <kdudka_at_redhat.com>
Date: Wed, 30 Dec 2009 01:21:47 +0100
Date: Wed, 30 Dec 2009 01:21:47 +0100
On Wednesday 30 of December 2009 01:14:30 Kamil Dudka wrote:
> The fopen() function should be called exactly once per one file. If you
> want to provide some additional info (e.g. file already exists,
> insufficient permissions to create file, etc.), you can use the error(3)
> function for that purpose.
Or maybe better strerror(), which is more portable and already being used
by the cURL code elsewhere.
> Kamil
-------------------------------------------------------------------
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 2009-12-30