i'm using   "ChannelSftp.put(src, dst)"    to send a file over ssh.

I guess what happens if some kind of error occurs during the file transfer.
The method "put" throws "SftpException" but doesn't specify if the file wasn't transfered at all, or if it was partially transfered.

My question arises because in the second case one could think about catching that error and retrying but now with the option RESUME: " ChannelSftp.put(src, dst, ChannelSftp.RESUME)" so avoiding to send the entire file again.

I'm new with JSch and probably i'm missing something.

Any help is welcome !!!