Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!odin.oar.net!malgudi.oar.net!imci4!imci5!pull-feed.internetmci.com!newsfeed.internetmci.com!news.ac.net!news.cais.net!nntp.uio.no!nntp-oslo.UNINETT.no!nntp-trd.UNINETT.no!not-for-mail From: sthaug@nethelp.no (Steinar Haug) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: ftp ... passive mode Date: 29 Jul 1996 20:43:05 GMT Organization: Nethelp Consulting, Trondheim, Norway Lines: 32 Message-ID: <4tj7op$aka@verdi.nethelp.no> References: <4tjbnr$77b@news.hol.gr> NNTP-Posting-Host: trane.uninett.no In-reply-to: otto@unixhack's message of 29 Jul 1996 21:50:51 GMT [Chris Syntichakis] | Is it possible to set the ftp in passive mode by default? | (ie not setting it manually) You have pftp, which always uses passive. You also have the source for ftp. What more do you need? I always put in the following patch after upgrading to a new release of FreeBSD. Steinar Haug, Nethelp consulting, sthaug@nethelp.no ---------------------------------------------------------------------- *** main.c.orig Thu May 30 05:08:17 1996 --- main.c Sat Jun 22 19:16:15 1996 *************** *** 81,87 **** doglob = 1; interactive = 1; autologin = 1; ! passivemode = 0; restricted_data_ports = 1; cp = strrchr(argv[0], '/'); --- 81,87 ---- doglob = 1; interactive = 1; autologin = 1; ! passivemode = 1; restricted_data_ports = 1; cp = strrchr(argv[0], '/');