commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom <t...@tbee.org>
Subject Re: International characters [FTPClient / VFS]
Date Thu, 25 Mar 2010 10:17:36 GMT


On 2010-03-25 11:06, Tom wrote:
>
>
> The question naturally is: how to I tell the FTPClient to use a 
> different encoding? The FTP server is Alfresco, so it it written in 
> Java. I assume I need to use UTF8.

Since I have a patch version of VFS (because of another Alfresco FTP 
problem) anyhow, I hacked a

    client.setControlEncoding("UTF8"); // Alfresco uses UTF8

into the FtpClientFactory. But there should be a better way.

Tom



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


Mime
View raw message