Uses of Interface
com.sshtools.client.tasks.FileTransferProgress
Packages that use FileTransferProgress
-
Uses of FileTransferProgress in com.sshtools.client.scp
Methods in com.sshtools.client.scp with parameters of type FileTransferProgressModifier and TypeMethodDescriptionvoid
ScpClient.get
(String localFile, String[] remoteFiles, boolean recursive, FileTransferProgress progress) void
ScpClient.get
(String localFile, String remoteFile, boolean recursive, FileTransferProgress progress) ScpClientIO.get
(String remoteFile, FileTransferProgress progress) Gets a remote file as ajava.io.InputStream
.void
ScpClient.put
(String[] localFiles, String remoteFile, boolean recursive, FileTransferProgress progress) Uploads an array of local files onto the remote server.void
ScpClient.put
(String localFileRegExp, String remoteFile, boolean recursive, FileTransferProgress progress) pattern matches the files in the local directory using "local" as a glob Regular Expression.void
ScpClient.put
(String localFile, String remoteFile, boolean recursive, FileTransferProgress progress, boolean remoteIsDir) void
ScpClientIO.put
(InputStream in, long length, String localFile, String remoteFile, boolean remoteIsDir, FileTransferProgress progress) void
ScpClientIO.put
(InputStream in, long length, String localFile, String remoteFile, FileTransferProgress progress) Uploads ajava.io.InputStream
to a remote server as a file.void
ScpClient.putFile
(String localFile, String remoteFile, boolean recursive, FileTransferProgress progress, boolean remoteIsDir) Deprecated.Use put method instead.protected void
ScpClientIO.ScpEngineIO.readCompleteFile
(OutputStream out, long size, FileTransferProgress progress) protected InputStream
ScpClientIO.ScpEngineIO.readStreamFromRemote
(String remoteFile, FileTransferProgress progress) Open an InputStream.protected void
ScpClientIO.ScpEngineIO.writeCompleteFile
(InputStream in, long size, FileTransferProgress progress) protected void
ScpClientIO.ScpEngineIO.writeStreamToRemote
(InputStream in, long length, String localName, FileTransferProgress progress) Write a stream as a file to the remote server. -
Uses of FileTransferProgress in com.sshtools.client.sftp
Methods in com.sshtools.client.sftp with parameters of type FileTransferProgressModifier and TypeMethodDescriptionvoid
SftpClient.append
(InputStream in, String remote, FileTransferProgress progress) Deprecated.void
SftpClient.append
(InputStream in, String remote, FileTransferProgress progress, long length) void
SftpClient.append
(String local, String remote, FileTransferProgress progress) Deprecated.void
SftpClient.append
(String local, String remote, FileTransferProgress progress, long length) com.sshtools.common.sftp.SftpFileAttributes
SftpClient.get
(String path, FileTransferProgress progress) Download the remote file to the local computer.com.sshtools.common.sftp.SftpFileAttributes
SftpClient.get
(String path, FileTransferProgress progress, boolean resume) Download the remote file to the local computer.com.sshtools.common.sftp.SftpFileAttributes
SftpClient.get
(String remote, OutputStream local, FileTransferProgress progress) Download the remote file writing it to the specifiedOutputStream
.com.sshtools.common.sftp.SftpFileAttributes
SftpClient.get
(String remote, OutputStream local, FileTransferProgress progress, long position) Download the remote file writing it to the specifiedOutputStream
.com.sshtools.common.sftp.SftpFileAttributes
SftpClient.get
(String remote, String local, FileTransferProgress progress) Download the remote file to the local computer.com.sshtools.common.sftp.SftpFileAttributes
SftpClient.get
(String remote, String local, FileTransferProgress progress, boolean resume) Download the remote file to the local computer.com.sshtools.common.sftp.SftpFileAttributes
SftpClientTask.get
(String path, FileTransferProgress progress) Download the remote file to the local computer.com.sshtools.common.sftp.SftpFileAttributes
SftpClientTask.get
(String path, FileTransferProgress progress, boolean resume) Download the remote file to the local computer.com.sshtools.common.sftp.SftpFileAttributes
SftpClientTask.get
(String remote, OutputStream local, FileTransferProgress progress) Download the remote file writing it to the specifiedOutputStream
.com.sshtools.common.sftp.SftpFileAttributes
SftpClientTask.get
(String remote, OutputStream local, FileTransferProgress progress, long position) Download the remote file writing it to the specifiedOutputStream
.com.sshtools.common.sftp.SftpFileAttributes
SftpClientTask.get
(String remote, String local, FileTransferProgress progress) Download the remote file to the local computer.com.sshtools.common.sftp.SftpFileAttributes
SftpClientTask.get
(String remote, String local, FileTransferProgress progress, boolean resume) Download the remote file to the local computer.SftpFile[]
SftpClient.getFiles
(String remote, FileTransferProgress progress) Download the remote files to the local computer.SftpFile[]
SftpClient.getFiles
(String remote, FileTransferProgress progress, boolean resume) Download the remote files to the local computer.SftpFile[]
SftpClient.getFiles
(String remote, String local, FileTransferProgress progress, boolean resume) Download the remote file to the local computer.SftpFile[]
SftpClientTask.getFiles
(String remote, FileTransferProgress progress) Download the remote files to the local computer.SftpFile[]
SftpClientTask.getFiles
(String remote, FileTransferProgress progress, boolean resume) Download the remote files to the local computer.SftpFile[]
SftpClientTask.getFiles
(String remote, String local, FileTransferProgress progress, boolean resume) Download the remote file to the local computer.SftpClient.getRemoteDirectory
(String remotedir, String localdir, boolean recurse, boolean sync, boolean commit, FileTransferProgress progress) Copy the contents of a remote directory to a local directorySftpClientTask.getRemoteDirectory
(String remotedir, String localdir, boolean recurse, boolean sync, boolean commit, FileTransferProgress progress) Copy the contents of a remote directory to a local directoryvoid
SftpChannel.performOptimizedRead
(String filename, byte[] handle, long length, int blocksize, OutputStream out, int outstandingRequests, FileTransferProgress progress) Deprecated, for removal: This API element is subject to removal in a future version.void
SftpChannel.performOptimizedRead
(String filename, byte[] handle, long length, int blocksize, OutputStream out, int outstandingRequests, FileTransferProgress progress, long position) Deprecated, for removal: This API element is subject to removal in a future version.void
SftpHandle.performOptimizedRead
(long length, int blocksize, OutputStream out, int outstandingRequests, FileTransferProgress progress, long position) Performs an optimized read of a file through use of asynchronous messages.void
SftpHandle.performOptimizedRead
(String filename, long length, int blocksize, OutputStream out, int outstandingRequests, FileTransferProgress progress, long position) Deprecated, for removal: This API element is subject to removal in a future version.void
SftpChannel.performOptimizedWrite
(String filename, byte[] handle, int blocksize, int maxAsyncRequests, InputStream in, int buffersize, FileTransferProgress progress) Deprecated.void
SftpChannel.performOptimizedWrite
(String filename, byte[] handle, int blocksize, int maxAsyncRequests, InputStream in, int buffersize, FileTransferProgress progress, long position) Deprecated, for removal: This API element is subject to removal in a future version.void
SftpHandle.performOptimizedWrite
(String filename, int blocksize, int maxAsyncRequests, InputStream in, int buffersize, FileTransferProgress progress, long position) Performs an optimized write of a file through asynchronous messaging and through buffering the local file into memory.void
SftpChannel.performSynchronousRead
(byte[] handle, int blocksize, OutputStream out, FileTransferProgress progress, long position) Deprecated, for removal: This API element is subject to removal in a future version.void
SftpHandle.performSynchronousRead
(int blocksize, OutputStream out, FileTransferProgress progress, long position) Perform a synchronous read of a file from the remote file system.void
SftpClient.put
(InputStream in, String remote, FileTransferProgress progress) Upload a file to the remote computer reading from the specifiedInputStream
.void
SftpClient.put
(InputStream in, String remote, FileTransferProgress progress, long position) Deprecated.void
SftpClient.put
(InputStream in, String remote, FileTransferProgress progress, long position, long length) Upload a file to the remote computer reading from the specifiedInputStream
.void
SftpClient.put
(String local, FileTransferProgress progress) Upload a file to the remote computer.void
SftpClient.put
(String local, FileTransferProgress progress, boolean resume) Upload a file to the remote computer.void
SftpClient.put
(String local, String remote, FileTransferProgress progress) Upload a file to the remote computer.void
SftpClient.put
(String local, String remote, FileTransferProgress progress, boolean resume) Upload a file to the remote computer.void
SftpClientTask.put
(InputStream in, String remote, FileTransferProgress progress) Upload a file to the remote computer reading from the specifiedInputStream
.void
SftpClientTask.put
(InputStream in, String remote, FileTransferProgress progress, long position) Deprecated.void
SftpClientTask.put
(InputStream in, String remote, FileTransferProgress progress, long position, long length) void
SftpClientTask.put
(String local, FileTransferProgress progress) Upload a file to the remote computer.void
SftpClientTask.put
(String local, FileTransferProgress progress, boolean resume) Upload a file to the remote computer.void
SftpClientTask.put
(String local, String remote, FileTransferProgress progress) Upload a file to the remote computer.void
SftpClientTask.put
(String local, String remote, FileTransferProgress progress, boolean resume) Upload a file to the remote computer.void
SftpClient.putFiles
(String local, FileTransferProgress progress) Upload files to the remote computervoid
SftpClient.putFiles
(String local, FileTransferProgress progress, boolean resume) Upload files to the remote computervoid
SftpClient.putFiles
(String local, String remote, FileTransferProgress progress) Upload files to the remote computer.void
SftpClient.putFiles
(String local, String remote, FileTransferProgress progress, boolean resume) make local copies of some of the variables, then call putfilematches, which calls "put" on each file that matches the regexp local.void
SftpClientTask.putFiles
(String local, FileTransferProgress progress) Upload files to the remote computervoid
SftpClientTask.putFiles
(String local, FileTransferProgress progress, boolean resume) Upload files to the remote computervoid
SftpClientTask.putFiles
(String local, String remote, FileTransferProgress progress) Upload files to the remote computer.void
SftpClientTask.putFiles
(String local, String remote, FileTransferProgress progress, boolean resume) make local copies of some of the variables, then call putfilematches, which calls "put" on each file that matches the regexp local.SftpClient.putLocalDirectory
(String localdir, String remotedir, boolean recurse, boolean sync, boolean commit, FileTransferProgress progress) Copy the contents of a local directory into a remote directory.SftpClientTask.putLocalDirectory
(String localdir, String remotedir, boolean recurse, boolean sync, boolean commit, FileTransferProgress progress) Copy the contents of a local directory into a remote directory. -
Uses of FileTransferProgress in com.sshtools.client.tasks
Classes in com.sshtools.client.tasks that implement FileTransferProgressModifier and TypeClassDescriptionprotected static class
Fields in com.sshtools.client.tasks with type parameters of type FileTransferProgressModifier and TypeFieldDescriptionprotected final Function<LOCALFILE,
FileTransferProgress> AbstractOptimisedTask.chunkProgress
protected final Optional<FileTransferProgress>
AbstractFileTask.progress
Methods in com.sshtools.client.tasks with parameters of type FileTransferProgressModifier and TypeMethodDescriptionAbstractFileTask.AbstractFileTaskBuilder.withProgress
(FileTransferProgress progress) Set aFileTransferProgress
for the overall progress of the transfer.Method parameters in com.sshtools.client.tasks with type arguments of type FileTransferProgressModifier and TypeMethodDescriptionfinal B
AbstractOptimisedTask.AbstractOptimisedTaskBuilder.withChunkProgress
(Function<LOCALFILE, FileTransferProgress> chunkProgress) AbstractFileTask.AbstractFileTaskBuilder.withProgress
(Optional<FileTransferProgress> progress) Set aFileTransferProgress
for the overall progress of the transfer.Constructors in com.sshtools.client.tasks with parameters of type FileTransferProgressModifierConstructorDescriptionprotected
FileTransferProgressWrapper
(FileTransferProgress delegate, Optional<FileTransferProgress> overallProgress, AtomicLong total) Constructor parameters in com.sshtools.client.tasks with type arguments of type FileTransferProgressModifierConstructorDescriptionprotected
FileTransferProgressWrapper
(FileTransferProgress delegate, Optional<FileTransferProgress> overallProgress, AtomicLong total)