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

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
+1
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();