FTP Folder Error from Internet Explorer

Posted on 2004-11-24
Last Modified: 2008-01-09

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.

Question by:lunatic359

    Author Comment

    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.
    LVL 34

    Expert Comment

    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

    Author Comment

    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.

    Author Comment

    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.

    Author Comment

    I re-checked "Use passive mode" and forwarded ports from 1024 - 65535 to my computer and still receive the error.
    LVL 34

    Accepted Solution

    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

    Author Comment

    Thank you Dave for your time and knowledge!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Suggested Solutions

    Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
    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…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    760 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

    7 Experts available now in Live!

    Get 1:1 Help Now