Uses of Class
com.sshtools.j2ssh.SftpClient
-
Packages that use SftpClient Package Description com.sshtools.ant com.sshtools.common.automate com.sshtools.common.ui com.sshtools.j2ssh -
-
Uses of SftpClient in com.sshtools.ant
Fields in com.sshtools.ant declared as SftpClient Modifier and Type Field Description protected SftpClient
Sftp.SftpDirectoryScanner. sftp
Methods in com.sshtools.ant with parameters of type SftpClient Modifier and Type Method Description protected void
Sftp. chmod(SftpClient sftp, java.lang.String filename)
protected void
Sftp. createParents(SftpClient sftp, java.lang.String filename)
Creates all parent directories specified in a complete relative pathname.protected void
Sftp. delFile(SftpClient sftp, java.lang.String filename)
Delete a file from the remote host.protected void
Sftp. getFile(SftpClient sftp, java.lang.String dir, java.lang.String filename)
Retrieve a single file to the remote host.protected boolean
Sftp. isUpToDate(SftpClient sftp, java.io.File localFile, java.lang.String remoteFile)
Checks to see if the remote file is current as compared with the local file.protected void
Sftp. makeRemoteDir(SftpClient sftp, java.lang.String dir)
Create the specified directory on the remote host.protected void
Sftp. sendFile(SftpClient sftp, java.lang.String dir, java.lang.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 Constructor Description SftpDirectoryScanner(SftpClient sftp)
-
Uses of SftpClient in com.sshtools.common.automate
Methods in com.sshtools.common.automate with parameters of type SftpClient Modifier and Type Method Description boolean
RemoteIdentification. configureUserAccess(SftpClient sftp, java.lang.String serverId, java.lang.String system, java.lang.String username, SshPublicKey pk, java.lang.String authorizationFile, int mode)
boolean
RemoteIdentification. configureUserAccess(SftpClient sftp, java.lang.String serverId, java.lang.String system, java.lang.String username, java.util.List keys, java.lang.String authorizationFile, int mode)
-
Uses of SftpClient in com.sshtools.common.ui
Methods in com.sshtools.common.ui that return SftpClient Modifier and Type Method Description SftpClient
SessionManager. openSftpClient()
Opens an SftpClient on the managed connection.SftpClient
SessionProviderFrame. openSftpClient()
Implementation of the SessionManager method, this simply calls the SshClient method openSftpClient.SftpClient
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 SftpClient Modifier and Type Method Description SftpClient
SshClient. getActiveSftpClient()
Get an active sftp clientSftpClient
SshClient. openSftpClient()
Open an SFTP client for file transfer operations.SftpClient
SshClient. openSftpClient(ChannelEventListener eventListener)
Open an SFTP client for file transfer operations.
-