curl-users
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
Received on 2009-12-30
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
- text/plain attachment: content-disposition.patch