Package | Description |
---|---|
org.dromara.hutool.extra.ssh.engine.jsch |
Jsch(http://www.jcraft.com/jsch/) 引擎封装
|
Modifier and Type | Method and Description |
---|---|
static JschSftp.Mode |
JschSftp.Mode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JschSftp.Mode[] |
JschSftp.Mode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
JschSftp |
JschSftp.put(InputStream srcStream,
String destPath,
com.jcraft.jsch.SftpProgressMonitor monitor,
JschSftp.Mode mode)
将本地数据流上传到目标服务器,目标文件名为destPath,目标必须为文件
|
JschSftp |
JschSftp.put(String srcFilePath,
String destPath,
JschSftp.Mode mode)
将本地文件上传到目标服务器,目标文件名为destPath,若destPath为目录,则目标文件名将与srcFilePath文件名相同。
|
JschSftp |
JschSftp.put(String srcFilePath,
String destPath,
com.jcraft.jsch.SftpProgressMonitor monitor,
JschSftp.Mode mode)
将本地文件上传到目标服务器,目标文件名为destPath,若destPath为目录,则目标文件名将与srcFilePath文件名相同。
|
Copyright © 2025. All rights reserved.