gpt4 book ai didi

delphi - Indy TIdFTP - EIdReplyRFCError - "Can' t 打开数据连接”

转载 作者:行者123 更新时间:2023-12-05 08:01:52 25 4
gpt4 key购买 nike

我们将 Indy TIdFTPFileZilla 0.9.39 beta FTP 服务器一起使用。
经常(并非总是)我们的客户收到以下异常:

exception class   : EIdReplyRFCError
exception message : Can't open data connection.
main thread ($d38):
006352e6 +03a IdReplyRFC 258 +1 TIdReplyRFC.RaiseReplyError
0063af39 +005 IdTCPConnection 540 +0 TIdTCPConnection.RaiseExceptionForLastCmdResult
0063b17c +050 IdTCPConnection 644 +10 TIdTCPConnection.CheckResponse
0063aed2 +03a IdTCPConnection 529 +2 TIdTCPConnection.GetResponse
0065986d +1ad IdFTP 1460 +29 TIdFTP.InternalGet
006595bb +0f3 IdFTP 1386 +16 TIdFTP.List

这个错误只发生在他的网络内部!而且它不一致
我无法在我们的网络上重现此错误。我在整个网络上搜索以找到解决方案,但没有找到任何东西。有什么办法可以解决这个问题吗???

编辑:我们正在使用“被动”模式。

最佳答案

如果有人有同样的问题,可能是TLS的问题,有些服务器有这个问题。您可以打开/打开:

void __fastcall TForm1::turnOffTLS(TIdFTP *choosenFTP){ choosenFTP->DataPortProtection=ftpdpsClear;选择FTP->UseTLS=utNoTLSSupport; }

void __fastcall TForm1::turnOnTLS(TIdFTP *choosenFTP){ choosenFTP->UseTLS=utUseExplicitTLS;选择FTP->DataPortProtection=ftpdpsPrivate; }

关于delphi - Indy TIdFTP - EIdReplyRFCError - "Can' t 打开数据连接”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11289380/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com