Class UploadFileTask

All Implemented Interfaces:
RequestFuture, Runnable

public class UploadFileTask extends AbstractFileTask
An SFTP Task that uploads complete files. You cannot directly create a UploadFileTask, instead use UploadFileTask.UploadFileTaskBuilder.
 client.addTask(StatTaskBuilder.create().
                withLocalFile(new File("local.txt")).
      withRemotePath("/path/on/remote/remote.txt").
      build());