version 1.15, 1997/09/04 04:42:34 |
version 1.16, 1997/12/17 16:03:01 |
|
|
file transfer program |
file transfer program |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm |
.Nm |
|
.Op Fl A |
.Op Fl a |
.Op Fl a |
.Op Fl d |
.Op Fl d |
.Op Fl e |
.Op Fl e |
|
|
Options may be specified at the command line, or to the |
Options may be specified at the command line, or to the |
command interpreter. |
command interpreter. |
.Bl -tag -width "port " |
.Bl -tag -width "port " |
|
.It Fl A |
|
Force active mode ftp. By default, |
|
.Nm |
|
will try to use passive mode ftp and fall back to active mode |
|
if passive is not supported by the server. This option causes |
|
.Nm |
|
to always use an active connection. It is only useful for connecting |
|
to very old servers that do not implement passive mode properly. |
.It Fl a |
.It Fl a |
Causes |
Causes |
.Nm |
.Nm |
|
|
and an account with which to login. |
and an account with which to login. |
.It Fl p |
.It Fl p |
Enable passive mode operation for use behind connection filtering firewalls. |
Enable passive mode operation for use behind connection filtering firewalls. |
|
This option has been deprecated as |
|
.Nm |
|
now tries to use passive mode by default, falling back to active mode |
|
if the server does not support passive connections. |
.It Fl P Ar port |
.It Fl P Ar port |
Sets the port number to |
Sets the port number to |
.Ar port . |
.Ar port . |
|
|
.Nm |
.Nm |
utilizes the following environment variables. |
utilizes the following environment variables. |
.Bl -tag -width "FTPSERVERPORT" |
.Bl -tag -width "FTPSERVERPORT" |
|
.It Ev FTPMODE |
|
Overrides the default operation mode. Recognized values are: |
|
.Bl -tag -width "passive " |
|
.It passive |
|
passive mode ftp only |
|
.It active |
|
active mode ftp only |
|
.It auto |
|
automatic determination of passive or active (this is the default) |
|
.It gate |
|
gate-ftp mode |
|
.El |
.It Ev FTPSERVER |
.It Ev FTPSERVER |
Host to use as gate-ftp server when |
Host to use as gate-ftp server when |
.Ic gate |
.Ic gate |