inputstream is closed error while uploading zip file through jsch to sftp site
问题 While uploading a zip file to SFTP, we are getting the below error. The same code is working fine for another application. We are using jsch-0.1.44.jar for SFTP connection. java.io.IOException: inputstream is closed at com.jcraft.jsch.ChannelSftp._put(ChannelSftp.java:571) at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:431) at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:398) aused by: java.io.IOException: inputstream is closed at com.jcraft.jsch.ChannelSftp.fill(ChannelSftp.java