SftpDownload.cancel

void cancel()

Cancels the transfer. Outstanding request interest is cancelled and reordered data is discarded; the handle remains open.