Active FTP client blocked by Windows Firewall on Windows 7

Posted by Eli on Server Fault See other posts from Server Fault or by Eli
Published on 2009-10-27T23:21:45Z Indexed on 2010/03/13 16:05 UTC
Read the original article Hit count: 759

I have an application that runs as a service and contains an FTP client. It needs to connect to an FTP server that only supports Active FTP. When I attempt to get a list of files or download a file, Windows Firewall is dropping the incoming connection from the FTP server. (I don't believe we had this problem in Windows XP or Windows Vista.)

Active FTP is the protocol that requires the the server to open a connection to the client on a port that the client specified. (http://slacksite.com/other/ftp.html)

I know I could open up a large port range in Windows Firewall and force my FTP client to only use those ports, but I would have guessed that Windows Firewall would support Active FTP natively.

Is there some setting that needs to be made in order to have Windows Firewall automatically detect Active FTP and open up the necessary ports as needed? Can I change that setting programmatically?

Thanks.

PS- I asked this question on StackOverflow, but was told I should probably ask here as well.

© Server Fault or respective owner

Related posts about windows-firewall

Related posts about Windows