We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now


IIS 7 FTP Directory not listing remotely

Medium Priority
Last Modified: 2012-05-11

I've managed to setup an ftp using IIS 7 using basic auth and can successfully login to it when doing so from the server locally. ftp://localhost - it prompts for username and password, after I enter it all works fine.

However when accessing from the URL whether remotely or internally - it prompts for username and password - I enter them then it times out (using mozzilla) or using windows explorer it gives me this error after some thinking time "An error occured occured opening that folder on the FTP Server. Make sure you have permission to access that folder. Details: The operation timed out "

When using CoreFTP it manages to logon then I get "PORT command failed Error loading directory... disconnected".

I have tried using Passive and disabling passive. The account I'm using to login was setup using the "IIS Manager Users" and I enabled Permissions for this account also.

Please Help
Watch Question

Make sure that the ftp service is not blocked by the firewall on the server.


I already had opened port 21 on the windows server firewall and set port forwarding from the Router to the server.


I neglected to mention that I can only login successfully through the account I setup in IIS Manager Users - but not any of the AD accounts even though I granted them directory permission and permission via IIS Manager Permissions as well as FTP Authentication and FTP Authorization

Enable logging on the IIS server (http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/45ff5705-308d-4866-a611-b92bf448e1ae.mspx?mfr=true) and see if there is any connection being made, and if there is what the error is.

Also have you tried connecting to the ftp server by ip address?


The instructions you provided are for IIS 6 - I'm using IIS 7. I believe logging is enabled. If I go to "IIS 7", expand "sites" then go to "FTP" site and click on "FTP Logging" it shows log directory and has button to disable it. Although check the log files doesn't show any recent activity since 11.25AM

If there are no entries in the log, that probably means that the connection is being blocked somewhere.  What happens if you try to connect using command line ftp?  Does it show the connection start?


I just tried switching off the windows firewall and it worked instantly from both FireFox & COREFTP. As I stated earlier I have definitely added an exception for port 21 in the windows firewall. What am I missing? Do I need to add additional ports?
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview


Because after trying what I have written it worked for me and may help others
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.