cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to encode names for FTP ?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 4 Apr 2006 16:48:58 +0200 (CEST)

On Tue, 4 Apr 2006, Silex wrote:

> Did I get it right ?

The answer to that is of course here => http://curl.haxx.se/rfc/rfc2396.txt

> I'm somehow still unsure that I must encode things like
> www.server.com because of the dots in it...

Dots are not "reserved characters" so they can be encoded or not, it doesn't
make any difference. There's no need to encode them though and I guess
curl_escape() could be fixed to leave them (and the other "unreserved
characters" as chapter 2.3 lists) unescaped.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-04-04