Re: FTP



"Lev" <lev_@xxxxxxxxxxx> wrote in
news:OGvXzptJIHA.1020@xxxxxxxxxxxxxxxxxxxx:

Hello,
Ran into an interesting problem here.
For troubleshooting purposes I am trying to connect to an FTP
site using
the windows command line. Using a test computer (same system model
and network using the same routes) I can connect fine to any FTP
site and everything works. Using the problem computer I can
connect but cannot get a directory listing. I can change
directories but I cannot get a directory using dir or ls. I have
turned off the windows firewall and it still does not give me a
directory list. I have also tried to connect to an FTP site
internally and I get the same results so it cannot be a firewall
that is interfering. This has to be something on the Windows box
itself. I have looked for any other applications like firewalls or
anything else that might effect the FTP but cannot find anything.
Using the test system (that FTP works on) I have stepped through
the task manager on the problem system and stopped any tasks that
the working system doesn't have running. Still no joy. I have run
a sniffer and can see the directory command go out and can see a
response being returned. I also have another user with the same
problem. The actuall error is

ftp>dir
200 PORT command successful
425 cannot open data connection

If I do a cd command after this it works. Provided of course that
I know what the directory name is that I want to change to.

Thoughts??

This sounds like a firewall problem.
Windows command line FTP understands only active-mode FTP.
All things that are working (commands) normally are port-21.
The things that don't work (data/directory transfers) are port-20
transfers.

Assuming you don't have any firewalls on your computer except Windows
Firewall, try going to the Windows Firewall control panel and make sure
that on the "exceptions" tab, there are exceptions enabled for ports 20
and 21 (Usually under the name "FTP").

HTH,
John
.



Relevant Pages

  • Re: Problem about Window Xp SP2 firewall and the buildin FTP command
    ... Problem about Window Xp SP2 firewall and the buildin FTP ... I find a problem that if running multiple FTP command at the same ... Windows XP SP2 to limit Max Connections/sec ...
    (microsoft.public.windowsxp.general)
  • Problem about Window XP SP2 firewall and the buildin FTP command
    ... Problem about Window Xp SP2 firewall and the buildin FTP ... I find a problem that if running multiple FTP command at the same ... Windows XP SP2 to limit Max Connections/sec ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Problem about Window Xp SP2 firewall and the buildin FTP command
    ... I copy your example ftp command file to a.txt saved in C:\dell folder. ... I cannot turn off Windows Firewall, since it is controlled by Domain ...
    (microsoft.public.windowsxp.general)
  • Re: Windows XP and FTP
    ... I have Windows XP and have noticed something strange. ... When trying to access my servervia FTP, when Windows Firewall is turned on, you cannot perform this task. ... When disabling Windows Firewall FTP works fine, however when just enabling FTP Access via the firewall configuration it doesn't seem to want to work. ... Tailor your education to your own professional goals with degree customizations including Emergency Management, Business Continuity Planning, Computer Emergency Response Teams, and Digital Investigations. ...
    (Security-Basics)
  • Re: Problem about Window Xp SP2 firewall and the buildin FTP command
    ... I checked the firewall log, ... I always test the XP SP2 on both my own FTP ... I copy your example ftp command file to a.txt saved in C:\dell folder. ... I cannot turn off Windows Firewall, since it is controlled by Domain ...
    (microsoft.public.windowsxp.general)