SFTP resumeable download

Nimit
2012-06-08
2013-05-28
  • Nimit
    Nimit
    2012-06-08

    Hi, I am using jsch library in Android application, I want to create resumable file download by using SFTP connection. I am using below code for download.

    sftpChannel.get("Remote file Path", "local file path");
    

    now I want to add resumable download, means if connection lost then device goes into wait state and if connection found then it start download from last downloaded byte. Also there is timeout , device wait for connection for particular timeout.

    Thanks ,