ftp/fetch "command not understood" on stable and current

Kevin D. Kinsey, DaleCo, S.P. kdk at daleco.biz
Thu Oct 16 20:25:12 PDT 2003


Scot W. Hetzel wrote:

>Your ftp client went into passive mode.  The reason it went to passive mode
>is because the /etc/login.conf file is setting an environment variable
>((FTP_PASSIVE_MODE=YES) to turn on passive mode.  To disable it, run ftp or
>fetch under sh as follows:
>
>FTP_PASSIVE_MODE=NO ftp ...
>FTP_PASSIVE_MODE=NO fetch ...
>
>or change FTP_PASSIVE_MODE  to NO in the "default" section of
>/etc/login.conf, and then use cap_mkdb /etc/login.conf to rebuild the
>login.conf.db.
>
>Scot
>
>  
>
Alternatively ---

$ftp
ftp>pasv
passive mode off.
ftp>open ftp.freebsd.org
....etc.....



More information about the freebsd-stable mailing list