If you are using SFTP, the ChannelSftp already has the ability to provide the mode (OVERWRITE, RESUME, APPEND) when calling .get(..) or .put(..) methods. These options allow you to only send/receive remaining bytes of the file.
Regards, Erick -----Original Message----- From: Prakash Babu [mailto:jprakashbab...@gmail.com] Sent: Friday, May 03, 2013 3:40 AM To: jsch-users@lists.sourceforge.net Subject: [JSch-users] resuming file transfer using jsch Hi, We are using jsch to transfer huge files from one host to the another. In case there is ssh connection failure, is there a way to resume this operation from where the copying failed rather than copying the entire file again. thanks, Prakash ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users