Re: FTP server navigation problem



On Mon, 10 Aug 2009 16:36:36 -0400, Tsu-Fan Cheng <tfcheng@xxxxxxxxx> wrote:
Hi,
I use freebsd7.2 and can't access my friend's FTP server (crystal FTP
server) from command line. I can't run any command in the ftp server, it
only responds "Entering Extended passive mode" and hang. But when I ftp from
windows command prompt, it actually works. So what's the matter with my BSD
communication? thanks!!

Refer to "man ftp". Passive FTP is mentioned as follows:

EXTENDED PASSIVE MODE AND FIREWALLS
Some firewall configurations do not allow ftp to use extended passive
mode. If you find that even a simple ls appears to hang after printing a
message such as this:

229 Entering Extended Passive Mode (|||58551|)

then you will need to disable extended passive mode with epsv4 off. See
the above section The .netrc File for an example of how to make this
automatic.

Above it states:

epsv4 Toggle the use of the extended EPSV and EPRT commands on IPv4
connections; first try EPSV / EPRT, and then PASV / PORT.
This is enabled by default. If an extended command fails
then this option will be temporarily disabled for the dura-
tion of the current connection, or until epsv4 is executed
again.

You can use this setting either via .netrc or as an interactive command.



--
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • [Full-disclosure] Rapid7 Advisory R7-0032: Microsoft Internet Explorer FTP Command Injection
    ... Microsoft Internet Explorer FTP Command Injection Vulnerability ... malicious files to an FTP server under the attacker's control, ...
    (Full-Disclosure)
  • RE: trouble using ftp.exe to connect to external site
    ... FTP site thru IE but cannot access thru ftp command line. ... Standard mode FTP client sends PORT commands to the FTP server. ...
    (microsoft.public.windows.server.sbs)
  • Re: Internet Explorer Keeps Timing out on FTP
    ... >> This is a problem with the FTP client. ... I have not started the FTP server ... > client chooses which method to use, by sending either a PORT or PASV ... > command to the server. ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: FtpWebRequest
    ... > "Specify the FTP command to send to the server by setting the Method ... > AppendFile Represents the FTP APPE protocol method that is used to append ... > file to an existing file on an FTP server. ...
    (microsoft.public.dotnet.languages.csharp)
  • i386 ftp branch broken?
    ... So I manually ftp to the site and am unable to find the i386 component ... 250 CWD command successful. ...
    (comp.unix.bsd.netbsd.misc)

Quantcast