mirror of
https://gitee.com/dromara/hutool.git
synced 2025-05-04 04:37:59 +08:00
add method
This commit is contained in:
parent
abec19e5cd
commit
9b5bb631c6
@ -35,6 +35,7 @@
|
||||
* 【core 】 DateTime增加setMinimalDaysInFirstWeek(issue#1988@Github)
|
||||
* 【db 】 Db增加query重载,可支持自定义PreparedStatement,从而支持游标(issue#I4JXWN@Gitee)
|
||||
* 【cache 】 CacheObj增加getExpiredTime等方法(issue#I4LE80@Gitee)
|
||||
* 【extra 】 Ftp增加backToPwd方法(issue#2004@Github)
|
||||
*
|
||||
### 🐞Bug修复
|
||||
* 【core 】 修复FileResource构造fileName参数无效问题(issue#1942@Github)
|
||||
|
@ -255,6 +255,15 @@ public class Ftp extends AbstractFtp {
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否执行完操作返回当前目录
|
||||
* @return 执行完操作是否返回当前目录
|
||||
* @since 5.7.17
|
||||
*/
|
||||
public boolean isBackToPwd(){
|
||||
return this.backToPwd;
|
||||
}
|
||||
|
||||
/**
|
||||
* 如果连接超时的话,重新进行连接 经测试,当连接超时时,client.isConnected()仍然返回ture,无法判断是否连接超时 因此,通过发送pwd命令的方式,检查连接是否超时
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user