[ 
https://issues.apache.org/jira/browse/VFS-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ralph Goers resolved VFS-302.
-----------------------------

       Resolution: Duplicate
    Fix Version/s: 2.0

This is a duplicate of VFS-305 which has already been fixed. The encoding can 
be specified in the ConfigBuilder.

> FTP Filename Encoding
> ---------------------
>
>                 Key: VFS-302
>                 URL: https://issues.apache.org/jira/browse/VFS-302
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Linux, vsftpd
>            Reporter: Oliver Tupran
>              Labels: encoding, internationalization, rfc2640, utf8
>             Fix For: 2.0
>
>         Attachments: Modified_FtpClientFactory.java
>
>
> I tried to copy a file like "münchen.jpeg" using VFS to a remote ftp server, 
> which resulted in a wrong encoded filename on the server.
> See also a similar issue from the commons-fileupload project: 
> http://issues.apache.org/jira/browse/FILEUPLOAD-56.
> Forgive my newbieness on VFS, but I would really appreciate a solution.
> I tried something that worked, but it really seems like a dirty trick:
> String encodedFilename = new String(filename.getBytes(), "ISO-8859-1");

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to