You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2011/03/08 18:00:00 UTC

[jira] Resolved: (NET-314) The FTP client should autodetect the control encoding.

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

Sebb resolved NET-314.
----------------------

    Resolution: Fixed

Thanks very much!

Patch applied with one trivial change - renamed the boolean as __autodetectEncoding to agree with the other private fields.

> The FTP client should autodetect the control encoding.
> ------------------------------------------------------
>
>                 Key: NET-314
>                 URL: https://issues.apache.org/jira/browse/NET-314
>             Project: Commons Net
>          Issue Type: Improvement
>          Components: FTP
>    Affects Versions: 1.4
>         Environment: Java client using FTP through VFS to connect to a Java (Alfresco's) FTP server
>            Reporter: Tom
>         Attachments: ftp-autodetect-utf.diff
>
>
> The Alfresco FTP server uses UTF8 for the control encoding. FTPClient can be set to use UTF8, but VFS does not expose that (https://issues.apache.org/jira/browse/VFS-305) and needs to be modified to fix this. But that is not the issue here; FileZilla is able to automatically detect that Alfresco's FTP server is using UTF8. So apparantly the server is somehow communicating this to the client. Being able to automatically set the encoding, would greately improve the out-of-the-box quality of the FTP component.

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