double post!
--
Regards,
Bernard Cheah
http://www.iis.net/ http://msmvps.com/blogs/bernard/ [quoted text, click to view] "Daniel Mazur" <news@compits.net> wrote in message
news:%23qdv6RPyIHA.4772@TK2MSFTNGP03.phx.gbl...
> 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?
>