Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Apr 1996 14:11:35 +0200 (MET DST)
From:      Ollivier Robert <roberto@keltia.freenix.fr>
To:        joerg_wunsch@uriah.heep.sax.de
Cc:        ports@freebsd.org
Subject:   Re: How to avoid passive mode ftp?
Message-ID:  <199604131211.OAA14513@keltia.freenix.fr>
In-Reply-To: <199604122214.AAA12696@uriah.heep.sax.de> from J Wunsch at "Apr 13, 96 00:14:16 am"

next in thread | previous in thread | raw e-mail | index | archive | help
It seems that J Wunsch said:
> Sitting behind slow link, and not caring for icky firewalls, is there
> any way to avoid ncftp's passive mode when building a port?  It takes
> a huge amount of time until the connection is initially established.

#set passive no

in ~/.netrc or ~/.ncftprc. 

But I think it is off by default:

ncftp>set
anon-open           = yes
anon-password       = "roberto@keltia.freenix.fr"
ansi-escapes        = yes
auto-binary         = yes
debug               = 0
gateway-login       = "ftp"
gateway-host        = ""
local-dir           = "/src/src/usr.bin/ncftp"
logfile             = ""
logsize             = 4096
mprompt             = no
netrc               = "/users/staff/roberto/.netrc"
passive             = no
pager               = "less"
prompt              = "@B@c@Mncftp@P>"
progress-reports    = 2
recent-list         = yes
remote-is-unix      = (not connected)
restricted-data-ports= yes
startup-msg         = yes
tips                = yes
type                = (not connected)
verbose             = "Terse (1)"

You can also turn it on/off with ``-P''.

This is with ncftp 1.x of course. I don't really use ncftp2 yet. 
-- 
Ollivier ROBERT    -=- The daemon is FREE! -=-    roberto@keltia.freenix.fr
FreeBSD keltia.freenix.fr 2.2-CURRENT #11: Tue Apr  9 20:14:48 MET DST 1996



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604131211.OAA14513>