FTP Folder Error from Internet Explorer


I have just installed IIS 5.1 on my Windows XP Pro machine. I have also configured my LinkSys Router to forward ports 20-21 and 80 to my computer.

(I was not able to find any posts about this particulart error - some like it though).

Here is my problem:
I can access the web site no problem - remotely and locally. Using IP from ISP, local IP and "localhost".

I have 3 computers on this network and a Unix web server is VA.
On all 3 I can FTP using IE and "FTP" command using my local IP.
I get errors using ISP-IP and "localhost".

my computer - localhost - cannot access folder. check filename and permissions. FTP session teminated.
ISP-IP - cannot access folder. check filename and permissions. connect reset

the other 2 computers - ISP-IP - Error opening folder. Check permissions.
200 type set to A
227 entering passive mode
426 connection closed; transfer terminated.

on my webserver (VA) using the FTP command (ISP-IP) i can log on but cannot view directory. It errors saying something like "Can't open data connection" then it freezes.

if you need anymore information please ask.
Thanks in advance.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

lunatic359Author Commented:
I got the "localhost" working on my computer now. Seems that IP address in the FTP Properties should have been set to "All Unassigned".

Still cannot access using ISP-IP.
From your post:

"I have also configured my LinkSys Router to forward ports 20-21 and 80 to my computer"

"227 entering passive mode"

Passive mode FTP does not use ports 20 and 21, it uses ports 21 and a random port over 1024.

Try configuring your FTP client to use Active FTP and it should work properly.

Dave Dietz
lunatic359Author Commented:
Thank you for you comment, however you can't set Internet Explorer to use Active FTP. If you are referring to unchecking the "Use passive mode", I have unsuccessfully tried that.
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

lunatic359Author Commented:
I unchecked "Use passive mode" within Internet Explorer just to double check. This time it worked. I will give you the points no-the-less. However do you know if this is caused by a configuration within IIS.

(I would rather not have the need to tell "everyone" in order to connect, disable passive mode) Since it is "ON" by default.
lunatic359Author Commented:
I re-checked "Use passive mode" and forwarded ports from 1024 - 65535 to my computer and still receive the error.
The error is not being caused by IIS.

The error is being caused by the NAT functionality of your router.  When you use Passive FTP the client sends a PASV command and the server responds with a set of 6 numbers seperated by commas that define the IP address of the server and the port to use for the Data channel.  The server sends its IP address which is likely the internal IP of the server and the NAT server isn't changing it to the external IP address that the client needs to use.  This is a common shortcoming of NAT devices.

Your only real choices are to use Active FTP or get a different NAT/Router that properly supports NATting Passive FTP traffic.

Dave Dietz

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lunatic359Author Commented:
Thank you Dave for your time and knowledge!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.