cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Patch to use filename from Content-disposition header

From: Björn Stenberg <bjorn_at_haxx.se>
Date: Wed, 30 Dec 2009 00:13:35 +0100

Hi.

Here's a patch adding a new option: --remote-header-name. This option is a qualifier to -O that uses the filename in a Content-disposition: header line if it exists.

Since this patch changes only the command-line utility, and not the library, I'm posting it here rather than in curl-library.

-- 
Björn


-------------------------------------------------------------------
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

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET