Link to home
Start Free TrialLog in
Avatar of AndreYPB
AndreYPB

asked on

IIS 7 FTP Directory not listing remotely

Hi,

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
Avatar of ittogo
ittogo

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

ASKER

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?
ASKER CERTIFIED SOLUTION
Avatar of AndreYPB
AndreYPB

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Because after trying what I have written it worked for me and may help others