修复ftp上传完成后,删除服务器端的文件,无法重新下载的问题
This commit is contained in:
@@ -72,6 +72,11 @@ public final class FtpTaskOption implements ITaskOption {
|
||||
*/
|
||||
private String activeExternalIPAddress;
|
||||
|
||||
/**
|
||||
* 服务器文件是否存在,true 文件存在,用于ftp上传
|
||||
*/
|
||||
private boolean serveFileIsExist = true;
|
||||
|
||||
//---------------- ftp client 配置信息 start
|
||||
private String defaultDateFormatStr = null;
|
||||
private String recentDateFormatStr = null;
|
||||
@@ -81,6 +86,14 @@ public final class FtpTaskOption implements ITaskOption {
|
||||
private String systemKey = FTPClientConfig.SYST_UNIX;
|
||||
//---------------- ftp client 配置信息 end
|
||||
|
||||
public boolean isServeFileIsExist() {
|
||||
return serveFileIsExist;
|
||||
}
|
||||
|
||||
public void setServeFileIsExist(boolean serveFileIsExist) {
|
||||
this.serveFileIsExist = serveFileIsExist;
|
||||
}
|
||||
|
||||
public String getActiveExternalIPAddress() {
|
||||
return activeExternalIPAddress;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user