Solved

FTP connections unable to get directory listing in IIS 6

Posted on 2004-08-25
1
2,217 Views
Last Modified: 2012-06-21
IIS 6 Windows 2003 Standard Server.  IIS installed okay.  Web server running nicely.  FTP seems to be configured okay, but when I connect with a client I cannot get the directory listing for the home directory (non-isolated) as configured in the FTP site setup.  Connection times out.  Same result when using the administrator account.  It sits there trying to get the directory listing and eventually times out.

I have checked that the permissions on the directory allow full control for the administrator, and that administrator can "log on locally".  I was getting this entry in the event viewer yesterday but none today although the problem persists:

User administrator failed to log on, could not access the home directory /.

Here is the log of the client connection.

Please help me.

~ Connecting...
~ Connected to 10.0.0.11, waiting for response...
< 220 Microsoft FTP Service
> USER administrator
< 331 Password required for administrator.
> PASS *****
< 230 User administrator logged in.
> REST 1
< 350 Restarting at 1.
> REST 0
< 350 Restarting at 0.
> SYST
< 215 Windows_NT
> PWD
< 257 "/" is current directory.
~ Login completed.
> PORT 10,11,12,54,12,193
< 200 PORT command successful.
> TYPE A
< 200 Type set to A.
> LIST
< 150 Opening ASCII mode data connection for /bin/ls.
! Socket Error: operation timed out or aborted
~ Could not retrieve directory listing for "/"
~ Disconnected
0
Comment
Question by:chronolith
1 Comment
 
LVL 34

Accepted Solution

by:
Dave_Dietz earned 125 total points
ID: 11896822
Des the behavior happen if you do this from the server itself?

This looks like an Active/Passive issue. Is there a firewall or NAT device between the server and the client?

In the transaction above the FTP server will try to connect to the client on port 3253.  If this port is blocked by a firewall you will have problems (the port is dynamic and will change for each connection).

Dave Dietz
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now