commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bogdan Drozdowski (JIRA)" <j...@apache.org>
Subject [jira] Updated: (NET-314) The FTP client should autodetect the control encoding.
Date Tue, 08 Mar 2011 16:21:59 GMT

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

Bogdan Drozdowski updated NET-314:
----------------------------------

    Attachment: ftp-autodetect-utf.diff

I believe the only non-ASCII encoding permitted is UTF-8 (http://tools.ietf.org/html/rfc2640),
this is detected by sending the FEAT command and looking for "UTF8" in the response. The attached
file does exactly this, right after the connection (original server greeting saved & restored
later). The autodetection is user-controlled.

> 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

Mime
View raw message