1 Long: netrc 2 Short: n 3 Help: Must read .netrc for user name and password 4 Category: curl 5 --- 6 Makes curl scan the *.netrc* (*_netrc* on Windows) file in the user's home 7 directory for login name and password. This is typically used for FTP on 8 Unix. If used with HTTP, curl will enable user authentication. See 9 *netrc(5)* and *ftp(1)* for details on the file format. Curl will not 10 complain if that file doesn't have the right permissions (it should be 11 neither world- nor group-readable). The environment variable "HOME" is used 12 to find the home directory. 13 14 A quick and very simple example of how to setup a *.netrc* to allow curl 15 to FTP to the machine host.domain.com with user name \&'myself' and password 16 \&'secret' should look similar to: 17 18 .B "machine host.domain.com login myself password secret" 19