curl-library
Re: How to get the original filename of a downloading file.
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 10 Oct 2002 09:13:40 +0200 (MET DST)
Date: Thu, 10 Oct 2002 09:13:40 +0200 (MET DST)
On Thu, 10 Oct 2002, [gb2312] 王 臻 wrote:
> I found some server use asp and jsp, and some URIs are indicated as
> http://www.someserver.com/xxx.jsp. When I send a request to that URI, it
> returns a file. But how do I get the filename? Thanks in advance.
There is no "original filename" associated with a URL, so there's no standard
way of getting it.
-- Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2002-10-10