cURL / Mailing Lists / curl-library / Single Mail


Re: ftp bin-mode in url

From: Daniel Stenberg <>
Date: Fri, 11 Jun 2004 15:29:57 +0200 (CEST)

On Fri, 11 Jun 2004, Gisle Vanem wrote:

> RFC-959 says "The data transfer is over the data connection in type ASCII or
> type EBCDIC". It doesn't have a MUST for this AFAICS.

At Section 4.1.3, page 33, right after your quote it says:

  "(The user must ensure that the TYPE is appropriately ASCII or EBCDIC)."

> My point is just that it could be easier to parse a dir listing when
> transfer type is given explicitly. If the ftp-server ignores it, that's just
> too bad...

I don't think servers have much to change for binary/asciii for directory
listings anyway, except perhaps for line endings.

     Daniel Stenberg -- --
      Dedicated custom curl help for hire:
Received on 2004-06-11