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.