[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Passive mode FTP?



On Thu, Apr 12, 2001 at 07:02:51PM -0700, Karsten M. Self wrote:
> on Thu, Apr 12, 2001 at 06:36:33PM +0200, staf wagemakers (staf@digibel.org) wrote:
> > On Wed, Apr 11, 2001 at 06:24:00PM -0400, Stan Brown wrote:
> > > Whats the magic environment variable to get ftp to use FTP mode?
> > 
> > If you start "ftp -p" ftp will use passive mode, at the ftp prompt you can
> > switch between "normal" and passive mode with the passive command.
> 
> Is there any way of specifying this as a default?  AFAIK, ftp doesn't
> have a config file, though ~/.netrc can be used to specify access.
> default/anonymous is my own preferred setting:
> 
>     default login anonymous password anon@emous.com

You could try to add:

macdef init passive

to your .netrc This should switch to passive mode after the login. although
using pftp (like someone-else suggested) is a easier solution.

-- 
Staf Wagemakers

email      : staf@digibel.org
homepage   : http://staf.digibel.org



Reply to: