Re: [net] FTP sends incorrect type for EBCDIC
Daniel F. Savarese wrote: In message <[EMAIL PROTECTED]>, Niklas Gustavsson writes: Fair enough, but if it is treated as binary, shouldn't the type be "I"? That's what I get for not doing my homework :) Okay, so I have no idea why it is sending B (other than it being a mistake). I'm not even sure why I thought the spec required ASCII/EBCDIC translation, since it says: "For transmission, the data are represented as 8-bit EBCDIC characters." I'll change it to E whenever the source repository is accessible again. Great, thanks! /niklas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [net] FTP sends incorrect type for EBCDIC
In message <[EMAIL PROTECTED]>, Niklas Gustavsson writes: >Fair enough, but if it is treated as binary, shouldn't the type be "I"? That's what I get for not doing my homework :) Okay, so I have no idea why it is sending B (other than it being a mistake). I'm not even sure why I thought the spec required ASCII/EBCDIC translation, since it says: "For transmission, the data are represented as 8-bit EBCDIC characters." I'll change it to E whenever the source repository is accessible again. daniel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [net] FTP sends incorrect type for EBCDIC
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]
Re: [net] FTP sends incorrect type for EBCDIC
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. daniel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]