wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes Apache Commons FtpClient ControlEncoding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Apache Commons FtpClient ControlEncoding" Watch "Apache Commons FtpClient ControlEncoding" New topic
Author

Apache Commons FtpClient ControlEncoding

Ifta Khirul
Greenhorn

Joined: Nov 27, 2012
Posts: 6
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 ?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Apache Commons FtpClient ControlEncoding
 
Similar Threads
Sending and handling files in a network
Problem with FTP Server while storing file with special char name,
Issue with FTP upload using org.apache.commons.net.ftp
Connect to FTP site with Apache commons net FTP client through Proxy
commons net 1.4.1 - sendSiteCommand