man pages section 4: File Formats

Exit Print View

Updated: July 2014
 
 

ftp(4)

Name

ftp - FTP client configuration file

Synopsis

/etc/default/ftp

Description

Use the ftp file to configure the behavior of the FTP client. Lines that begin with a hash symbol (“# “) are treated as comment lines and are ignored.

Behavior Directives

The ftp file supports the following behavior directives:

FTP_LS_SENDS_NLST=yes | no

The ls command of the ftp client sends an NLST to the FTP Server by default. Several non-Solaris clients send LIST instead. In order to make the Solaris ftp client send LIST when the ls command is issued, set FTP_LS_SENDS_NLST to no. The value of FTP_LS_SENDS_NLST is yes by default.

If the user sets a value for FTP_LS_SENDS_NLST in the user's environment, this value will override any FTP_LS_SENDS_NLST directive that is specified in /etc/default/ftp.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
network/ftp

See also

ftp(1), attributes(5)