Hi, I am trying to transfer file over explicit TLS/SSL.
Looks like the FtpWebRequest in .NET upto 3.5 wouldn't working either I enabled UsePassive or not. If it is disabled, I think there are firewall/router configure to deal with (for Active mode), which once the application deployed on client's machine I don't have any control and most likely wouldn't working straight away.
But if I disabled UserPassive, it will throw a "The server returned an address in response to the PASV command that is different than the address to which the FTP connection was made." and according to this thread:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=97409&wa=wsignin1.0 still doesn't work.
By the way ,if I know exactly the public IP and internal IP, is there a way for me to accept the new internal IP address, so it will at least working? The first link get it working, but I don't understand why and how he managed did that? what is myProxyServerIP? Do I have to have a proxy server?
The strange thing is even though my application couldn't downloadfile or listdirectory though ftp, but it will successfully delete file in the server and give success code? My guess it that my application can only pass/sent control/command code to the ftp server but have trouble get data though other ports from server?