FTP client get below error
425-Cannot open data connection.
Win32 error: The network connection was aborted by the local system.
Error details: Client IP on the control channel didn't match the client IP on the data channel.
1. We followed the steps in http://support.microsoft.com/kb/941940 to test opening FTP passive mode connection between the FTP server and the remote client. It worked, so it is a client issue.
2. From the FTP client output, we found the client first submitted a “quote pasv” to request a passive mode connection, but later used active mode to transfer data.
The FTP server detected that problem and responded the above error message.
4. Below is part of the FTP client script, it is written in Perl language.
$ftp = new svftp(SourceServer=>"$srcSrv", SourceUser=>"$srvUsr", SourcePwd=>"$srvPwd",
DestServer=>"$destSrv", DestUser=>"$destUsr", DestPwd=>"$destPwd", Debug=>1);
It seems the FMT::svftp module could not handle FTP passive mode correctly.
We are not able to involve the Perl module provider. In order to work around this issue, we decide to downgrade the FTP server to 6.0 by installing the FTP 6.0 component shipped with Windows server 2008. It works.