Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 18685 invoked from network); 23 Mar 2010 13:39:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Mar 2010 13:39:49 -0000 Received: (qmail 79914 invoked by uid 500); 23 Mar 2010 13:39:49 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 79776 invoked by uid 500); 23 Mar 2010 13:39:49 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 79706 invoked by uid 99); 23 Mar 2010 13:39:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 13:39:49 +0000 X-ASF-Spam-Status: No, hits=-1107.0 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 13:39:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A651D234C4BD for ; Tue, 23 Mar 2010 13:39:27 +0000 (UTC) Message-ID: <1037693375.433811269351567680.JavaMail.jira@brutus.apache.org> Date: Tue, 23 Mar 2010 13:39:27 +0000 (UTC) From: "Nikos-Filippos Avdoulos (JIRA)" To: issues@commons.apache.org Subject: [jira] Issue Comment Edited: (VFS-302) FTP Filename Encoding In-Reply-To: <1994074617.6321267535727273.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/VFS-302?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1284812= 8#action_12848128 ]=20 Nikos-Filippos Avdoulos edited comment on VFS-302 at 3/23/10 1:39 PM: ---------------------------------------------------------------------- I had the same problem with greek file names with FTP. I solved it by addin= g the following line : client.setControlEncoding("utf-8") in the org.apache= .commons.vfs.provider.ftp.FtpClientFactory's method "createConnection(....)= ". It worked and now i can handle files with greek file names on a ftp serv= er. was (Author: alkmanas): I had the same problem with greek file names with FTP. I solved it by a= dding the following line : client.setControlEncoding("utf-8") in the org.ap= ache.commons.net.ftp.FtpClientFactory's method "createConnection(....)". It= worked and now i can handle files with greek file names on a ftp server. =20 > 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 > Attachments: Modified_FtpClientFactory.java > > > I tried to copy a file like "m=C3=BCnchen.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://issu= es.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 =3D new String(filename.getBytes(), "ISO-8859-1"); --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.