解决外网环境上传失败问题

This commit is contained in:
zzh 2022-03-24 21:00:02 +08:00
parent c56fb05dee
commit 922da46aff
2 changed files with 4 additions and 2 deletions

View File

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

View File

@ -80,6 +80,7 @@ Type TsFTPBackup = Class
ftpObj.Username := username;
ftpObj.Password := password;
ftpObj.UseTLS := true;
ftpObj.Passive := 1;
ftpObj.Port := port;
try
ftpObj.connect();