我在chilkat异常中收到以下消息
calling ConnectSocket2
IPV6 enabled connect with NO heartbeat.
Cannot connect, hostname is zero length
ConnectFailReason: 1
Failed to connect to FTP server.
Failed. --ConnectOnly_Ftp2
--ChilkatLog
我正在尝试使用chilkat的Ftp2类(使用c#),使用connect方法连接到FTP服务器。
下面是我用来连接FTP
是否有人成功地使用.Net FTPWebRequest类从NAT后面传送到远程服务器?我的代码如下:
Dim URI = "ftp://" & sRemoteDir & "/"
Dim ftp As FtpWebRequest = Nothing
Try
ServicePointManager.ServerCertificateValidationCallback = AddressOf ValidateServerCertificate
ftp = CType(FtpWebRequest.Create(URI), Ft