Akhil Surapuram created VFS-776:
-----------------------------------

             Summary: Random Times i am receiving file not found error
                 Key: VFS-776
                 URL: https://issues.apache.org/jira/browse/VFS-776
             Project: Commons VFS
          Issue Type: Bug
            Reporter: Akhil Surapuram


Note removed sensitve information and replaced with (...)
Caused by: org.apache.commons.vfs2.FileSystemException: Could not copy 
"file:///(...)" to "sftp://(...)".
        at 
org.apache.commons.vfs2.provider.AbstractFileObject.copyFrom(AbstractFileObject.java:300)
Caused by: org.apache.commons.vfs2.FileSystemException: Could not write to 
"sftp://(...)".
        at 
org.apache.commons.vfs2.provider.AbstractFileObject.getOutputStream(AbstractFileObject.java:1243)
        at 
org.apache.commons.vfs2.provider.DefaultFileContent.buildOutputStream(DefaultFileContent.java:518)
        at 
org.apache.commons.vfs2.provider.DefaultFileContent.getOutputStream(DefaultFileContent.java:404)
        at 
org.apache.commons.vfs2.provider.DefaultFileContent.getOutputStream(DefaultFileContent.java:392)
        at 
org.apache.commons.vfs2.provider.DefaultFileContent.write(DefaultFileContent.java:753)
        at 
org.apache.commons.vfs2.provider.DefaultFileContent.write(DefaultFileContent.java:771)
        at org.apache.commons.vfs2.FileUtil.copyContent(FileUtil.java:37)
        at 
org.apache.commons.vfs2.provider.AbstractFileObject.copyFrom(AbstractFileObject.java:295)
        ... 37 common frames omitted
Caused by: com.jcraft.jsch.SftpException: No such file
        at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2873)
        at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:768)
        at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:709)
        at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:706)
        at 
org.apache.commons.vfs2.provider.sftp.SftpFileObject.doGetOutputStream(SftpFileObject.java:475)
        at 
org.apache.commons.vfs2.provider.AbstractFileObject.getOutputStream(AbstractFileObject.java:1239)
        ... 44 common frames omitted



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

Reply via email to