[ 
https://issues.apache.org/jira/browse/VFS-776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17449291#comment-17449291
 ] 

Gary D. Gregory edited comment on VFS-776 at 11/25/21, 6:54 PM:
----------------------------------------------------------------

Hi [~akhil_surapuram] 

I'm not sure how we can help unless you can provide a reproducer... in the form 
of a unit test, or standalone Maven project. Whatever works for you.

TY.


was (Author: garydgregory):
Hi [~akhil_surapuram] 

I'm not sure how we can help unless you can provide a reproducer... in the form 
of a unit test, or standalone Maven project. Whatever works for you.

> 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
>            Priority: Major
>
> 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.20.1#820001)

Reply via email to