Meaningless Drivel is fun!*
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 Murach's Java Servlets and JSP this week in the Servlets 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 ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache Commons FtpClient ControlEncoding
 
Similar Threads
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
Sending and handling files in a network
commons net 1.4.1 - sendSiteCommand