Akhil Surapuram created VFS-775:
-----------------------------------

             Summary: SFTP Uplaod is successfull but getting Exceptions
                 Key: VFS-775
                 URL: https://issues.apache.org/jira/browse/VFS-775
             Project: Commons VFS
          Issue Type: Bug
    Affects Versions: 2.4
            Reporter: Akhil Surapuram


ache.commons.vfs2.FileSystemException: Could not determine the type of file 
"sftp://........";. at 
org.apache.commons.vfs2.provider.AbstractFileObject.getType(AbstractFileObject.java:1347)
 at 
org.apache.commons.vfs2.provider.AbstractFileObject.exists(AbstractFileObject.java:945)
 at 
org.apache.commons.vfs2.util.FileObjectUtils.exists(FileObjectUtils.java:45) at 
org.apache.commons.vfs2.provider.AbstractFileObject.copyFrom(AbstractFileObject.java:285)

Caused by: org.apache.commons.vfs2.FileSystemException: Could not connect to 
SFTP server at "sftp://2500009874_U:***@sftp.cdslindia.com/";.
        at 
org.apache.commons.vfs2.provider.sftp.SftpFileSystem.getChannel(SftpFileSystem.java:151)
        at 
org.apache.commons.vfs2.provider.sftp.SftpFileObject.statSelf(SftpFileObject.java:114)
        at 
org.apache.commons.vfs2.provider.sftp.SftpFileObject.doGetType(SftpFileObject.java:76)
        at 
org.apache.commons.vfs2.provider.AbstractFileObject.getType(AbstractFileObject.java:1341)
        ... 40 common frames omitted
Caused by: com.jcraft.jsch.JSchException: session is down
        at com.jcraft.jsch.Session.openChannel(Session.java:861)
        at 
org.apache.commons.vfs2.provider.sftp.SftpFileSystem.getChannel(SftpFileSystem.java:124)




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to