We help IT Professionals succeed at work.

FtP cannot get a directry listing on different port

880 Views
Last Modified: 2013-11-29
I have setup multiple ftp sitess on my server (windows 2003 enterprise server). I am behind a cisco router. my normal ftp site on port 21 works fine. I set up the other port to use 200. On my router I have the lines for ftp and ftpdata setup. I also opened port 200. I can log into the ftp site fine, but cannot get a diretory listing. It is doing a command PORT 192,168,2,101,15,175 and the response is invalid port command and then I get error cannot retrieve directory. I am using filezilla, but the command line ftp also hangs when I try a dir. I also tried passive with filezilla, but that did not help either. Do I need to open some other port on my cisco? Also, if I connect up through a vpn uning a local ip, everything works fine.
Comment
Watch Question

CERTIFIED EXPERT

Commented:
Are you connecting from your local lan to the ftp server on the internet or is it the other way round?

Are you using a cisco router or the PIX firewall as you mention one but have posted in the PIX area?

I assume it is your client issuing the PORT command or is that the server reply?
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT

Commented:
You could alter your firewall configuration or the ftp server configuration to get it working for you however other clients will still have problems if they try to use active mode ftp. Really the solution is to always run ftp on port 21.

Author

Commented:
My main problem is that I need to have 3 ftp sites that are in 3 different directories. My alternatives were to use different port or use isolation mode. I cannot figure out how to configure virtual dorectories for isolation mode. When using isolation mode, it says that you need to create a directory with the userame under localusers. I cannot figure out how to create a virtual directory under that. When I try to create a virtual directory, it just creates it at the same level as localusers. Any comments would be appreciated.
CERTIFIED EXPERT

Commented:
Sorry I am not familiar with the IIS ftp server.

Perhaps you could use an additional IP adDress instead?

Author

Commented:
I figured it out. It is goofy how you add a virtual directory and is not in the regular help. here is a link in case someone finds this:
http://www.microsoft.com/technet/community/columns/insider/iisi0606.mspx

I will award points based on my orogonal question.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.