Re: FTP Service fails at server command prompt

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Ohh you post a new thread... in this case.

you are ftping from the same server using public ip ? then it is internal
routing/nating issue.
internally you should use internal ip rather than public.

and your pub ip works as per your second log posting.

--
Regards,
Bernard Cheah
http://www.iis.net/
http://msmvps.com/blogs/bernard/


"Daniel Mazur" <news@xxxxxxxxxxx> wrote in message
news:%23wmeIRPyIHA.1772@xxxxxxxxxxxxxxxxxxxxxxx

Hello,

I am having trouble with FTP service from a command prompt. The service is
working in every way via ftp service used by internet explorer
(ftp://administrator:*******@domain IP), and by WS_FTP PRO, but again,
something is funky with the command prompt access.

When at a command prompt from the Windows 2003 Server with FTP service,
every time I use the DIR command, or anything else after input of my logon
name and password, I always get error 500 and 150. Here is an example;

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\Administrator>ftp
ftp> open 70.147.**.***
Connected to 70.147.**.***.
220 Microsoft FTP Service
User (70.147.**.***:(none)): administrator
331 Password required for administrator.
Password:
230 User administrator logged in.
ftp> dir
500 Invalid PORT Command.
150 Opening ASCII mode data connection for /bin/ls.
425 Can't open data connection.
ftp>


However, when I go to a command prompt from another computer miles away,
connected to the internet, and try the same commands, it works. Here is an
example;


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Daniel Mazur>ftp
ftp> open 70.147.21.220
Connected to 70.147.21.220.
220 Microsoft FTP Service
User (70.147.21.220:(none)): administrator
331 Password required for administrator.
Password:
230 User administrator logged in.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
06-05-08 09:25AM 0 New Text Document.txt
06-06-08 09:51AM 1404 PO850B003.850
06-06-08 09:51AM 1404 PO850B004.850
06-06-08 09:51AM 1404 PO850B005.850
06-05-08 09:25AM <DIR> test 1
06-05-08 09:25AM <DIR> test 2
226 Transfer complete.
ftp: 318 bytes received in 0.02Seconds 19.88Kbytes/sec.
ftp>

Why won't the commands work on the local PC? They once did, and work on
other 2003 servers I have. I uninstalled and reinstalled FTP service. No
change. Any ideas?


.



Relevant Pages

  • ftp fails at command prompt
    ... I am having trouble with FTP service from a command prompt. ... Copyright 1985-2003 Microsoft Corp. ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: ftp fails at command prompt
    ... I am having trouble with FTP service from a command prompt. ... Copyright 1985-2003 Microsoft Corp. ...
    (microsoft.public.inetserver.iis.ftp)
  • RE: Error notification
    ... Very helpful Rebecca, as always. ... >In Microsoft Windows XP, use the Eventquery command ... >manage event logs from the command line. ... >software found on the Internet, ...
    (microsoft.public.windows.group_policy)
  • RE: Error notification
    ... If you use SBS 2k3, there is a tool called Monitoring, this tool will send ... use the Eventquery command prompt utility to ... search for article Q318763 in the Microsoft Knowledge ... software found on the Internet, and Microsoft cautions you to make sure ...
    (microsoft.public.windows.group_policy)
  • zone alarm
    ... I wanted to allow Microsoft VM Command Line Interpreter ... to access the internet. ...
    (microsoft.public.windowsxp.security_admin)