ifeilong / feilong

让Java开发更简便的工具库
Apache License 2.0
118 stars 30 forks source link

com.jcraft.jsch.SftpException: Failure #82

Open venusdrogon opened 5 years ago

venusdrogon commented 5 years ago
[2019-09-27 15:52:59:430 CST] ERROR com.feilong.net.filetransfer.sftp.SFTPFileTransfer.upload(SFTPFileTransfer.java:278) : can't upload fileInputStream,toFileName:[*****]
com.jcraft.jsch.SftpException: Failure
        at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2873)
        at com.jcraft.jsch.ChannelSftp.checkStatus(ChannelSftp.java:2486)
        at com.jcraft.jsch.ChannelSftp._put(ChannelSftp.java:651)
        at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:540)
        at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:492)
        at com.feilong.net.filetransfer.sftp.SFTPFileTransfer.upload(SFTPFileTransfer.java:274)
        at com.feilong.net.filetransfer.AbstractFileTransfer.uploadFile(AbstractFileTransfer.java:541)
        at com.feilong.net.filetransfer.AbstractFileTransfer.uploadDontClose(AbstractFileTransfer.java:515)
        at com.feilong.net.filetransfer.AbstractFileTransfer.upload(AbstractFileTransfer.java:111)
        at com.**.store.manager.ami.sync.file.SyncOnlineItemsInfoToSftpManagerImpl.synOnlineItemInfoToSftp(SyncOnlineItemsInfoToSftpManagerImpl.java:109)
        at com.**.store.manager.ami.sync.file.SyncOnlineItemsInfoToSftpManagerImpl.syncOnlineItemsInfo(SyncOnlineItemsInfoToSftpManagerImpl.java:78)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at com.sun.proxy.$Proxy754.syncOnlineItemsInfo(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
venusdrogon commented 5 months ago

https://github.com/ifeilong/feilong/issues/734 看看这版本会不会解决问题