commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ash, Michael L" <Michael....@ca.com>
Subject RE: Commons-net.FTPClient
Date Fri, 06 Aug 2004 14:52:59 GMT
Doing the setControlEncoding would be wonderful, I have recompiled the
code doing what you suggested and it does work, but I um can't use it
because its not an official release :) 

-----Original Message-----
From: Daniel F. Savarese [mailto:dfs@savarese.org] 
Sent: Friday, August 06, 2004 9:46 AM
To: Jakarta Commons Developers List
Subject: Re: Commons-net.FTPClient 


In message <200408052128.39386.scohen@javactivity.org>, Steve Cohen
writes:
>Sorry I missed your earlier post.  The answer is, unfortunately, that 
>the package does not support the easy conversion to UTF-8.

If he needs to change the encoding for the control connection, he can
recompile the source with FTP.__DEFAULT_ENCODING redefined.  If it is a
common requirement to use multi-byte character encodings on the control
connection, we can add a setControlEncoding or some such method and/or
make the control input and output reader/writers protected.
There may be some way for telnet (the FTP control connection) to
autonegotiate the character encoding, but there's no reason to believe
FTP servers dealing in UTF-8 or other multi-byte encodings implement a
negotiation.

daniel



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message