Update FtpReader.java

This commit is contained in:
Zhang Xian 2021-09-09 23:02:05 +08:00 committed by GitHub
parent 42f125aabf
commit b9bb8cc29f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,7 +247,7 @@ public class FtpReader extends Reader {
// 如果deletesrc为true则删除源文件 // 如果deletesrc为true则删除源文件
if(readerSliceConfig.getBool(Key.DELETESRC,Constant.DEFAULT_FTP_DELETE_SRC)){ if(readerSliceConfig.getBool(Key.DELETESRC,Constant.DEFAULT_FTP_DELETE_SRC)){
ftpHelper.deleteFile(fileName); ftpHelper.deleteFile(fileName);
LOG.info(String.format("deleted file : [%s]", fileName)); LOG.info(String.format("deleted src file : [%s]", fileName));
} }
} }