Uses of Enum Class
org.aoju.bus.extra.ssh.Sftp.Mode

Packages that use Sftp.Mode
Package
Description
Jsch封装,包括端口映射、SFTP封装等
  • Uses of Sftp.Mode in org.aoju.bus.extra.ssh

    Methods in org.aoju.bus.extra.ssh that return Sftp.Mode
    Modifier and Type
    Method
    Description
    static Sftp.Mode
    Sftp.Mode.valueOf(String name)
    Returns the enum constant of this class with the specified name.
    static Sftp.Mode[]
    Sftp.Mode.values()
    Returns an array containing the constants of this enum class, in the order they are declared.
    Methods in org.aoju.bus.extra.ssh with parameters of type Sftp.Mode
    Modifier and Type
    Method
    Description
    Sftp.put(InputStream srcStream, String destPath, com.jcraft.jsch.SftpProgressMonitor monitor, Sftp.Mode mode)
    将本地数据流上传到目标服务器,目标文件名为destPath,目标必须为文件
    Sftp.put(String srcFilePath, String destPath, com.jcraft.jsch.SftpProgressMonitor monitor, Sftp.Mode mode)
    将本地文件上传到目标服务器,目标文件名为destPath,若destPath为目录,则目标文件名将与srcFilePath文件名相同。
    Sftp.put(String srcFilePath, String destPath, Sftp.Mode mode)
    将本地文件上传到目标服务器,目标文件名为destPath,若destPath为目录,则目标文件名将与srcFilePath文件名相同