2 .\" Copyright (C) 2002, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH FTP 4 "Oct 22, 2002"
8 ftp \- FTP client configuration file
12 \fB/etc/default/ftp\fR
18 Use the \fBftp\fR file to configure the behavior of the FTP client. Lines that
19 begin with a hash symbol ("# ") are treated as comment lines and are ignored.
20 .SS "Behavior Directives"
23 The \fBftp\fR file supports the following behavior directives:
27 \fB\fBFTP_LS_SENDS_NLST=yes | no\fR\fR
30 The \fBls\fR command of the ftp client sends an \fBNLST\fR to the FTP Server by
31 default. Several non-Solaris clients send \fBLIST\fR instead. In order to make
32 the Solaris \fBftp\fR client send \fBLIST\fR when the \fBls\fR command is
33 issued, set \fBFTP_LS_SENDS_NLST\fR to \fBno\fR. The value of
34 \fBFTP_LS_SENDS_NLST\fR is \fByes\fR by default.
39 If the user sets a value for \fBFTP_LS_SENDS_NLST\fR in the user's environment,
40 this value will override any \fBFTP_LS_SENDS_NLST\fR directive that is
41 specified in \fB/etc/default/ftp\fR.
45 \fBftp\fR(1), \fBattributes\fR(5)