Package | Description |
---|---|
org.dromara.hutool.extra.ftp |
基于Apache Commons Net封装的FTP工具
|
org.dromara.hutool.extra.ssh.engine.jsch |
Jsch(http://www.jcraft.com/jsch/) 引擎封装
|
Modifier and Type | Method and Description |
---|---|
org.apache.commons.net.ftp.FTPFile[] |
CommonsFtp.lsFiles(String path)
遍历某个目录下所有文件和目录,不会递归遍历
|
Modifier and Type | Method and Description |
---|---|
boolean |
JschSftp.cd(String directory)
打开指定目录,如果指定路径非目录或不存在抛出异常
|
Copyright © 2025. All rights reserved.