源为空写日志

This commit is contained in:
zzh 2022-01-15 19:37:16 +08:00
parent c56fb05dee
commit 595079bcad
2 changed files with 6 additions and 2 deletions

View File

@ -1,8 +1,7 @@
<h1>FTP数据备份工具</h1>
# FTP数据备份工具
使用步骤:
1、TsFTP目录放入解释器所在目录的funcext中更新替换plugin\FileMgr.dll
1、TsFTP目录放入解释器所在目录的funcext中
2、可选修改默认配置信息TsFTP\TsFTPBackupConfig.tsf
3、参考examples\example1.tsl编写备份脚本
4、可选添加备份脚本的定时调度。

View File

@ -48,6 +48,11 @@ Type TsFTPBackup = Class
Begin
path := ExtractFilePath(src);
files := filelist('',src);
if not files then begin
msg := 'filelist('+src+')为空。';
log(msg,'note');
return 2;
end;
try
ftpObj.MakeDir(destPath);
except