commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Gustavsson <>
Subject Re: [net] FTP sends incorrect type for EBCDIC
Date Sun, 17 Jul 2005 09:44:14 GMT
Daniel F. Savarese wrote:
> In message <db6aam$mg2$>, Niklas Gustavsson writes:
>>When issuing ftp.type(FTP.EBCDIC_FILE_TYPE), FTP will send "TYPE B". 
>>This is not correct according to RFC 959 where the EBCDIC type is 
>>specified as "E".
> I'm pretty sure sending B is intentional since we do not perform automatic
> translaton between EBCDIC and ASCII.  Therefore, EBCDIC is treated as a
> binary file not subject to the automatic translation required by the FTP
> spec.  It's probably not useful to make a change unless the character
> translation is implemented.  However, I'm speaking purely from memory and
> not from revisiting the code and RFC.

Fair enough, but if it is treated as binary, shouldn't the type be "I"?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message