Class DownloadFileTask

All Implemented Interfaces:
RequestFuture, Runnable

public class DownloadFileTask extends AbstractFileTask
An SFTP Task that downloads complete files. You cannot directly create a DownloadFileTask, instead use DownloadFileTask.DownloadFileTaskBuilder.
 client.addTask(DownloadFileTaskBuilder.create().
                withLocalFile(new File("local.txt")).
      withRemotePath("/path/to/remote.txt").
      build());