Uses of Class
com.sshtools.j2ssh.SftpClient
Packages that use SftpClient
Package
Description
-
Uses of SftpClient in com.sshtools.ant
Fields in com.sshtools.ant declared as SftpClientMethods in com.sshtools.ant with parameters of type SftpClientModifier and TypeMethodDescriptionprotected void
Sftp.chmod
(SftpClient sftp, String filename) protected void
Sftp.createParents
(SftpClient sftp, String filename) Creates all parent directories specified in a complete relative pathname.protected void
Sftp.delFile
(SftpClient sftp, String filename) Delete a file from the remote host.protected void
Sftp.getFile
(SftpClient sftp, String dir, String filename) Retrieve a single file to the remote host.protected boolean
Sftp.isUpToDate
(SftpClient sftp, File localFile, String remoteFile) Checks to see if the remote file is current as compared with the local file.protected void
Sftp.makeRemoteDir
(SftpClient sftp, String dir) Create the specified directory on the remote host.protected void
Sftp.sendFile
(SftpClient sftp, String dir, String filename) Sends a single file to the remote host.protected void
Sftp.transferFiles
(SftpClient sftp) Sends all files specified by the configured filesets to the remote server.protected int
Sftp.transferFiles
(SftpClient sftp, org.apache.tools.ant.types.FileSet fs) For each file in the fileset, do the appropriate action: send, get, delete, or list.Constructors in com.sshtools.ant with parameters of type SftpClient -
Uses of SftpClient in com.sshtools.common.automate
Methods in com.sshtools.common.automate with parameters of type SftpClientModifier and TypeMethodDescriptionboolean
RemoteIdentification.configureUserAccess
(SftpClient sftp, String serverId, String system, String username, SshPublicKey pk, String authorizationFile, int mode) boolean
RemoteIdentification.configureUserAccess
(SftpClient sftp, String serverId, String system, String username, List keys, String authorizationFile, int mode) -
Uses of SftpClient in com.sshtools.common.ui
Methods in com.sshtools.common.ui that return SftpClientModifier and TypeMethodDescriptionSessionManager.openSftpClient()
Opens an SftpClient on the managed connection.SessionProviderFrame.openSftpClient()
Implementation of the SessionManager method, this simply calls the SshClient method openSftpClient.SessionProviderInternalFrame.openSftpClient()
Implementation of the SessionManager method, this simply calls the SshClient method openSftpClient. -
Uses of SftpClient in com.sshtools.j2ssh
Methods in com.sshtools.j2ssh that return SftpClientModifier and TypeMethodDescriptionSshClient.getActiveSftpClient()
Get an active sftp clientSshClient.openSftpClient()
Open an SFTP client for file transfer operations.SshClient.openSftpClient
(ChannelEventListener eventListener) Open an SFTP client for file transfer operations.