I had this issue with original jsch and still have it with version 0.2.12. I don't know if it was fixed in later releases cause using them requires updating gradle in my project, and that is problematic.
Anyway, I get this stacktrace when trying to upload a file to sftp drive
[DefaultDispatcher-worker-6] Error uploading debug report to SFTP server: com.jcraft.jsch.SftpException:
at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2816)
at com.jcraft.jsch.ChannelSftp._put(ChannelSftp.java:544)
at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:436)
at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:332)
I had this issue with original jsch and still have it with version 0.2.12. I don't know if it was fixed in later releases cause using them requires updating gradle in my project, and that is problematic. Anyway, I get this stacktrace when trying to upload a file to sftp drive
And here's my upload function, in Kotlin:
Looking at jsch source code, this is thrown when header type is equal to SSH_FXP_STATUS, but that's not really explanatory