Daniel F. Savarese wrote:
In message <[EMAIL PROTECTED]>, 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"?

/niklas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to