The usual cause of timeouts while trying to start transferring file listings
would be a NAT that isn't correctly doing NAT on FTP control traffic.
FTP sets up data connections in one of two modes - active or passive. The
choice of which mode is left up to the client. Many FTP clients use passive
mode for the simple reason that the server administrator has to fix any NAT
issues, and if he's already fixed it for one client, it'll work for all the
other clients.
Some FTP clients use active mode, because that's what the FTP standard was
originally documented to use as the default.
It's often easier, when solving these kinds of problems, to drop down to a
simpler client with fewer bells-and-whistles to hide the true cause of
problems. I like the command-line FTP client in Windows for this reason.
Open up a command prompt, and type "ftp". Hit return, and you'll see the
prompt change to "ftp>". You are now in the command-line FTP client.
First, connect to your FTP site, by entering "open yoursite.example.com" -
replacing, of course, "yoursite.example.com" with the name or address of
your site.
You'll be prompted for your user name and password - enter those, and when
the prompt comes back, you're connected. Unlike graphical FTP clients,
you'll notice that this one doesn't automatically do a file listing.
Now, let's turn on debugging, so you can see the commands your client is
sending to your server - note, these are often different from the commands
you type into the client. To turn on debugging, you enter the command
"debug". Now, to do a directory listing, enter "dir". You'll see the
client sends a PORT command, and then a LIST command. This is because the
command-line FTP client uses active mode for its FTP transfers. If it used
passive mode, you'd see a PASV command instead of the PORT command.
Did the listing work? If so, then your problem is with passive mode, and is
something that needs to be fixed in the NAT at your server's end. If the
listing went the same way as your other attempts to connect, then your
problem is with active mode, and needs to be fixed in the NAT at your
client's end. Sometimes it's as simple as installing a new firmware
update - sometimes it's something that you can't get the NAT vendor to fix.
If that's the case, then you will need to tell the clients that are having
problems to get configured for the other transfer mode.
Alun.
~~~~
--
Software Design Engineer, Internet Information Server (FTP)
This posting is provided "AS IS" with no warranties, and confers no rights.
[quoted text, click to view] "David Lewis" <user@microsoft.com> wrote in message
news:867bv0dfj5ttm5ojva4r8i52tvrtt00qh5@4ax.com...
> It shows the flashlight and says getting contents of folder
>
> FTP Folder Error
> An error occurred opening that folder on the ftp server. Make sure you
> have permission to access that folder.
> Details: The operation timed out.
>
> This is with both anoumous login and a domain admin account
> the server is on a 200 DC
>
> jeff.nospam@zina.com (Jeff Cochran)
> |>On Sun, 23 Jan 2005 15:59:48 -0800, David Lewis <user@microsoft.com>
> |>wrote:
> |>
> |>>Got Win2k Server SP4 running IIS FTP
> |>>Got linksys BEFSR11 router doing NAT
> |>>
> |>>I setup up ports 20,21, 5500-5550 to forward to the IIS server
> |>>
> |>>I edited registry as outlined at
> |>>
http://support.microsoft.com/?id=555022 > |>>
> |>>FTP clients such as flashfxp work, but IE is not working.
> |>
> |>"Not working" means...?
> |>
> |>Jeff
>