RE: ftp problem

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: TSU (TSU_at_discussions.microsoft.com)
Date: 12/13/04


Date: Sun, 12 Dec 2004 20:55:01 -0800

Hello Param,

There are two FTP modes, and your Server is configured to support only PORT
mode.

Both modes initially connect and authenticate on port 21, but from there
PORT will transfer data on port 20 whereas PASV will negotiate a pair of
ports in a high port range for data transfer.

If it doesn't matter to you which mode to use, from your log entries if you
use an FTP client configured for PORT FTP, you won't see any errors.

Also, your FTP client issued a FEAT command. It's a command requesting the
Server identify any optional commands if they exist, so is not a criticial
error if there is no response.
http://www.networksorcery.com/enp/rfc/rfc2389.txt

HTH,

Tony Su

"Param R." wrote:

> Hi all, it seems that ISA seems to be blocking ftp transactions from
> clients. We have a remote FTP server on another remote network running on
> Windows 2000 & IIS 5. Clients from my SBS network trying to connect to it
> are failing. Here is a log from SmartFTP. Any ideas? Under Protocol Rules in
> ISA I have FTP, FTP Download Only & FTP Server checked.
>
> Resolving host name ftp.mycompany.com...
>
> Connecting to (ftp.mycompany.com) -> IP: 69.2.aa.bb PORT: 21
>
> Connected to (ftp.mycompany.com) -> Time = 78ms
>
> Socket connected waiting for login sequence.
>
> 220 webserver Microsoft FTP Service (Version 5.0).
>
> USER lgdatacenter\sterling
>
> 331 Password required for lgdatacenter\sterling.
>
> PASS (hidden)
>
> 230-welcome to ftp.mycompany.com
>
> 230 User lgdatacenter\sterling logged in.
>
> SYST
>
> 215 Windows_NT version 5.0
>
> FEAT
>
> 500 'FEAT': command not understood
>
> REST 100
>
> 350 Restarting at 100.
>
> REST 0
>
> 350 Restarting at 0.
>
> PWD
>
> 257 "/" is current directory.
>
> CWD /sw48
>
> 250 CWD command successful.
>
> PWD
>
> 257 "/sw48" is current directory.
>
> TYPE A
>
> 200 Type set to A.
>
> PASV
>
> 227 Entering Passive Mode (69,2,aa,bb,16,98).
>
> Opening data connection IP: 69,2,aa,bb,16,98 PORT: 4194.
>
> A connection attempt failed because the connected party did not properly
> respond after a period of time, or established connection failed because
> connected host has failed to respond.
>
> PORT 192,168,1,254,10,155
>
> 200 PORT command successful.
>
> Opening data connection IP: 192.168.1.254 PORT: 2715.
>
> LIST -aL
>
> 150 Opening ASCII mode data connection for /bin/ls.
>
> 136 bytes received successfully. (136 B/s) (00:00:01).
>
> 226 Transfer complete.
>
> NOOP
>
> 200 NOOP command successful.
>
> NOOP
>
> 200 NOOP command successful.
>
> NOOP
>
> 200 NOOP command successful.
>
> Any Ideas?
>
>
>



Relevant Pages

  • Re: Microsoft FTP Server problem on W2K?
    ... I have technical responsibility for this FTP implementation, ... Since PASV voids PORT, the client side ... connect to the server from" isn't implied by the text of the RFC. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Some questions
    ... > using my ftp software behind my router. ... > issued to server by the client. ... When PORT is used: ... > Can you give me a command line used in a browser to explain me what is the ...
    (comp.security.firewalls)
  • Re: Firewall and ftp service
    ... I'll say it again, FTP is eeeevul. ... > which redirects the traffic to my public ftp server. ... > should force the server to stay on port 21 for tha data connection, ... the client tells the server what port it will be ...
    (FreeBSD-Security)
  • Re: Firewall and ftp service
    ... FTP is eeeevul. ... >> which redirects the traffic to my public ftp server. ... > client connects to the server on port 21. ... the client tells the server what port it will be ...
    (FreeBSD-Security)
  • Re: ftp problem
    ... The remote end will have to have port 20 and 21 ... Check it with another ftp site to make sure. ... The remote FTP server is on a remote ... >> a client to be able to ftp out. ...
    (microsoft.public.windows.server.sbs)