IIS 7 and Above
Can't upload to ftp sites
Last post Mar 27, 2012 08:51 AM by lwsrbrts
Mar 27, 2012 08:17 AM|BSpruiell|LINK
Mar 27, 2012 08:51 AM|lwsrbrts|LINK
Difficult one to troubleshoot without more information really but the most obvious thing to confirm is that you are able to communicate with an FTP server that requires you to connect to it on high numbered ephemeral ports. When you enter passive mode, your
client computer attempts to connect to a port number that the FTP server has opened up for you to perform your data transfers on. If your firewall is restricting the connection, it obviously won't work. From the command response you supplied, the FTP server
is IP: 18.104.22.168 and the port number it opened for your data connection is 14504 (196 x 74 = 14504). Your firewall needs to permit you to connect to that port number. Many firewalls will only permit ports 80, 443 and a few other services but bear in mind
that FTP servers that use passive FTP can run on virtually any range of high number ephemeral ports and that you need to open these outbound for you to connect to.
You could try and use Active mode to remove the high number port passive requirement but you need a better client. Go and grab yourself a copy of FileZilla FTP client (it's free!) and use that to further your troubleshooting.