Link to home
Start Free TrialLog in
Avatar of troyd1
troyd1

asked on

FtP cannot get a directry listing on different port

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.
Avatar of grblades
grblades
Flag of United Kingdom of Great Britain and Northern Ireland image

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?
ASKER CERTIFIED SOLUTION
Avatar of grblades
grblades
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
Avatar of troyd1
troyd1

ASKER

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.
Sorry I am not familiar with the IIS ftp server.

Perhaps you could use an additional IP adDress instead?
Avatar of troyd1

ASKER

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.