curl-users
Re: Acces denit on partial path
Date: Tue, 18 Jan 2005 20:35:20 +0100 (CET)
On Tue, 18 Jan 2005, Eric VERGNAUD wrote:
> Is there a way I can tell libcurl to NOT decompose the path into several sub
> CWD queries ?
No. I can understand perfectly fine why you'd want this, but libcurl is
actually trying hard to following the RFC 1738 (secion 3.2.2) in this aspect.
I'm open for ideas on how to change libcurl in this area to fit more
situations.
RFC1738 says (pasting selected phrases):
The url-path of a FTP URL has the following syntax:
<cwd1>/<cwd2>/.../<cwdN>/<name>;type=<typecode>
Where <cwd1> through <cwdN> and <name> are (possibly encoded) strings
...
Each of the <cwd> elements is to be supplied, sequentially, as the
argument to a CWD (change working directory) command.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2005-01-18