I am having a special problem when trying an SFTP file from Windows to a Unix server. Stack Trace Error -
4: Failure at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2846) at com.jcraft.jsch.ChannelSftp.checkStatus(ChannelSftp.java:2459) at com.jcraft.jsch.ChannelSftp._sendCLOSE(ChannelSftp.java:2465) at com.jcraft.jsch.ChannelSftp._put(ChannelSftp.java:683) at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:475) at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:365)
I searched a lot in other forums, but could not find the reason. I noticed one more thing: the name of the file I'm trying to use SFTP is * .xml when I change it to .XML, SFTP is โsuccessfulโ. Very strange it was not possible to identify the problem. I am trying to use the JSch Java API. But I saw the same problem when trying the WinSCP interface.
source share