cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Storing the URL in extended attributes of the downloaded file

From: Stefan Tomanek <stefan.tomanek_at_wertarbyte.de>
Date: Mon, 18 Oct 2010 10:32:08 +0200

Dies schrieb Daniel Stenberg (daniel_at_haxx.se):

> 1 - I noticed your patch sent to the wget team for this same
> feature. Wouldn't it make sense to use the same name for the URL no
> matter which tool that downloaded it? It would make it easier for
> scripts/tools to extract the info.

You got me on that, and I also thought about it. Using a common name
might be useful; making it configurable might be a first step towards
that.

> 2 - Using extended attributes is a fancy way to store meta data
> about a downloaded file. Wouldn't it make sense to just call the
> option '--xattr' or similar to keep the ability open that more meta
> data than just the URL will get stored eventually?

Might be useful in the future, although for now the URL is the most
common and useful item I can think of :-)
-------------------------------------------------------------------
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 2010-10-18