Partial file transfer using JSch library

SMAT
2010-06-21
2013-05-28
  • SMAT
    SMAT
    2010-06-21

    I am trying to SFTP few files to server using JSCH library. There is a scenario when the connection breaks in between and only partial file is transferred to server. Is there any way out that the partial file is not transferred to server when such an exception occurs  or the partial file transferred is deleted. Please reply ASAP.