Class DownloadOutputStreamTask

All Implemented Interfaces:
RequestFuture, Runnable

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