java - SFTP via JSch is throwing error 4: Failure -


i facing peculiar issue while trying sftp file windows unix server. error "stack trace" -

4: failure     @ com.jcraft.jsch.channelsftp.throwstatuserror(channelsftp.java:2846)     @ com.jcraft.jsch.channelsftp.checkstatus(channelsftp.java:2459)     @ com.jcraft.jsch.channelsftp._sendclose(channelsftp.java:2465)     @ com.jcraft.jsch.channelsftp._put(channelsftp.java:683)     @ com.jcraft.jsch.channelsftp.put(channelsftp.java:475)     @ com.jcraft.jsch.channelsftp.put(channelsftp.java:365) 

i have searched lot on other forums not root cause. have observed 1 more thing - file name, trying sftp, *.xml when change *.xml sftp "successful". weird not identify issue. trying using jsch java api. have seen same issue while trying winscp front end.

it common openssh sftp server return code 4 (failure) many different reasons, without giving details.

you have check sftp server log find more.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -