Re: [net] FTP sends incorrect type for EBCDIC

2005-07-18 Thread Niklas Gustavsson
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

Re: [net] FTP sends incorrect type for EBCDIC

2005-07-17 Thread Niklas Gustavsson
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

Re: [net] FTP sends incorrect type for EBCDIC

2005-07-17 Thread Daniel F. Savarese
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

Re: [net] FTP sends incorrect type for EBCDIC

2005-07-16 Thread Daniel F. Savarese
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

[net] FTP sends incorrect type for EBCDIC

2005-07-14 Thread Niklas Gustavsson
Hi 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. The attached patch should resolve this issue. /niklas Index: