Uses of Class
org.miaixz.bus.extra.ssh.provider.jsch.JschSftp
Packages that use JschSftp
Package
Description
Provides an encapsulation for the JSch (Java Secure Channel) library.
-
Uses of JschSftp in org.miaixz.bus.extra.ssh.provider.jsch
Methods in org.miaixz.bus.extra.ssh.provider.jsch that return JschSftpModifier and TypeMethodDescriptionJschSftp.get(String src, OutputStream out) Retrieves a remote file and writes it to an output stream.Retrieves a remote file and saves it to a local path.static JschSftpCreates aJschSftpinstance with the specified SSH connection details.static JschSftpCreates aJschSftpinstance with the specified SSH connection details and character set.Opens an SFTP session, returning a wrapper for SFTP operations.JschSftp.put(InputStream srcStream, String destPath, com.jcraft.jsch.SftpProgressMonitor monitor, JschSftp.Mode mode) Uploads a local data stream to the target server.Uploads a local file to the target server, overwriting existing files.JschSftp.put(String srcFilePath, String destPath, com.jcraft.jsch.SftpProgressMonitor monitor, JschSftp.Mode mode) Uploads a local file to the target server with a progress monitor and transfer mode.JschSftp.put(String srcFilePath, String destPath, JschSftp.Mode mode) Uploads a local file to the target server with a specified transfer mode.JschSftp.reconnectIfTimeout()