commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yurii Kartsev (JIRA)" <j...@apache.org>
Subject [jira] Created: (VFS-346) File does not exist while connecting to SFTP server using 2.0 SNAPSHOT while it exists while using 1.0
Date Wed, 16 Feb 2011 21:44:24 GMT
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
            Priority: Blocker
             Fix For: 1.0


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 is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message