Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AED3911601 for ; Thu, 1 May 2014 23:34:20 +0000 (UTC) Received: (qmail 4132 invoked by uid 500); 1 May 2014 23:34:16 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 4073 invoked by uid 500); 1 May 2014 23:34:15 -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 4032 invoked by uid 99); 1 May 2014 23:34:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2014 23:34:15 +0000 Date: Thu, 1 May 2014 23:34:14 +0000 (UTC) From: "Bernd Eckenfels (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (VFS-346) File does not exist while connecting to SFTP server using 2.0 SNAPSHOT while it exists while using 1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/VFS-346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bernd Eckenfels updated VFS-346: -------------------------------- Priority: Major (was: Blocker) > File does not exist while connecting to SFTP server using 2.0 SNAPSHOT while it exists while using 1.0 > ------------------------------------------------------------------------------------------------------ > > Key: VFS-346 > URL: https://issues.apache.org/jira/browse/VFS-346 > Project: Commons VFS > Issue Type: Bug > Affects Versions: 2.0 > Environment: JDK 1.6.0_18 > Windows 7 x64 > Reporter: Yurii Kartsev > Fix For: 1.0 > > Attachments: commons-vfs-1.0.jar, commons-vfs-2.0-SNAPSHOT.jar, vfs_bug_versions.zip > > > I've faced a problem when an existing files can't be copied using 2.0 snapshot library while after adding in classpath 1.0 library - everything goes just nice. > Also I've tested that everything is good using simple ftp and local file when using both 2.0 snapshot and 1.0 libraries, so problem exists only with SFTP. > The thing is that sourceDir.resolveFile("1.txt") returns false when using 2.0 snapshot and returns true using 1.0. > I'll attach screenshots from eclipse while debugging this. Files which have "1"s in the filename are made when using 1.0 library and files with "2"s in the filename are made when using 2.0 snapshot. You can find out that in the first case type of sourceFile is "folder" and in the second case it's "imaginary". > Please check this, I assume that there is a bug somewhere. > Thanks. -- This message was sent by Atlassian JIRA (v6.2#6252)