Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache Commons FtpClient ControlEncoding

 
Ifta Khirul
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm using Apache Commons FtpClient.
I want to set the Content Encoding type to "UTF-8". And yes, I can do that by setting the setControlEncoding Method.

But the problem is that , some FTP server may not support the UTF-8 feature negotiation.
At that moment we want to use the DEFAULT_CONTROL_ENCODING.

My target is to identify whether the ftp server support UTF-8 Encoding feature or not.
So, can anybody please inform me how can I get that information using FtpClient ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic