Friday, December 9, 2011

FTP command line problem from Windows Server 2008 R2

Symptoms
Using FTP.exe server command prompt will allow you to connect out to an FTP site, but no response from ls or get commands

Cause
Windows Server 2008 R2 has a strict firewall by default

Solution:
1. Go to: Administrative Tools > Server Manager > Configuration > Windows Firewall with Advanced Security
2. Right click on Windows Firewall with Advanced Security on Local Computer to pop-up Windows Firewall Properties
3. On the Domain Profile tab, settings, click customize
4. Change Display a notification to yes
5. Click ok twice for changes to take effect
For now, at first you run ftp.exe and login, Windows security Alert will pop-up. You check Domain Networks and click Allow Access


1 comment:

  1. THANK YOU!!

    This issue was driving me mad - it had been working and suddenly stopped ... I suspect some update decided to 'fix' the previous settings ...

    ReplyDelete