Home
last modified time | relevance | path

Searched refs:netrc (Results 1 – 25 of 44) sorted by relevance

12

/curl/docs/cmdline-opts/
H A Dnetrc-file.md4 Long: netrc-file
5 Help: Specify FILE for netrc
8 Mutexed: netrc
12 - netrc
16 - --netrc-file netrc $URL
19 # `--netrc-file`
21 Set the netrc file to use. Similar to --netrc, except that you also provide
24 It abides by --netrc-optional if specified.
H A Dnetrc-optional.md4 Long: netrc-optional
5 Help: Use either .netrc or URL
6 Mutexed: netrc
11 - netrc-file
13 - --netrc-optional $URL
16 # `--netrc-optional`
18 Similar to --netrc, but this option makes the .netrc usage **optional**
19 and not mandatory as the --netrc option does.
H A Dnetrc.md4 Long: netrc
6 Help: Must read .netrc for username and password
9 Mutexed: netrc-file netrc-optional
12 - netrc-file
16 - --netrc $URL
19 # `--netrc`
21 Make curl scan the *.netrc* file in the user's home directory for login name
23 enables user authentication. See *netrc(5)* and *ftp(1)* for details on the
28 On Windows two filenames in the home directory are checked: *.netrc* and
32 A quick and simple example of how to setup a *.netrc* to allow curl to FTP to
H A Duser.md12 - netrc
21 --netrc and --netrc-optional.
/curl/tests/data/
H A Dtest6805 netrc
23 netrc with quoted password but missing end quote
26 --netrc --netrc-file %LOGDIR/netrc%TESTNUMBER http://user1@http.example/
28 <file name="%LOGDIR/netrc%TESTNUMBER" >
H A Dtest13045 netrc
17 netrc
20 netrc parsing unit tests
23 %LOGDIR/netrc%TESTNUMBER
25 <file name="%LOGDIR/netrc%TESTNUMBER">
H A Dtest6845 netrc
30 netrc with no login
33 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER http://%HOSTIP:%HTTPPORT/
35 <file name="%LOGDIR/netrc%TESTNUMBER" >
H A Dtest4946 netrc
25 skip 'macdef' when parsing netrc
28 --netrc --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
30 <file name="%LOGDIR/netrc%TESTNUMBER" >
H A Dtest6855 netrc
30 netrc with no login - provided user
33 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER http://user@%HOSTIP:%HTTPPORT/
35 <file name="%LOGDIR/netrc%TESTNUMBER" >
H A Dtest3817 netrc
38 # using the netrc is mandatory.
41 netrc-optional lets URL creds override netrc
45 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://mary:drfrank@%HOSTIP:%FTPPORT/
47 <file name="%LOGDIR/netrc%TESTNUMBER" >
H A Dtest6835 netrc
30 netrc with multiple logins - pick second
33 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER http://user2@%HOSTIP:%HTTPPORT/
35 <file name="%LOGDIR/netrc%TESTNUMBER" >
H A Dtest6825 netrc
30 netrc with multiple logins - pick first
33 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER http://user1@%HOSTIP:%HTTPPORT/
35 <file name="%LOGDIR/netrc%TESTNUMBER" >
H A Dtest6795 netrc
34 netrc with quoted password
37 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER http://%HOSTIP:%HTTPPORT/
39 <file name="%LOGDIR/netrc%TESTNUMBER" >
H A Dtest1347 netrc
37 FTP (optional .netrc; programmatic user/passwd) dir list PASV
40 # -u overrides netrc which overrides the URL
42 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER -u romulus:rhemus ftp://mary:mark@%HOSTIP:%F…
44 <file name="%LOGDIR/netrc%TESTNUMBER" >
H A Dtest3807 netrc
37 pick netrc password based on user name in URL
41 --netrc --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://mary@%HOSTIP:%FTPPORT/
43 <file name="%LOGDIR/netrc%TESTNUMBER" >
H A Dtest1317 netrc
38 FTP (optional .netrc; user/no pass) dir list PASV
41 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://user2@%HOSTIP:%FTPPORT/
43 <file name="%LOGDIR/netrc%TESTNUMBER" >
H A Dtest1327 netrc
37 FTP (optional .netrc; user/passwd supplied) dir list PASV
40 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://mary:mark@%HOSTIP:%FTPPORT/
42 <file name="%LOGDIR/netrc%TESTNUMBER" >
H A Dtest20397 netrc
37 FTP (optional .netrc with 'default' override; no user/pass) dir list PASV
40 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/
42 <file name="%LOGDIR/netrc%TESTNUMBER" >
H A Dtest1307 netrc
37 FTP (optional .netrc; no user/pass) dir list PASV
40 --netrc-optional --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/
42 <file name="%LOGDIR/netrc%TESTNUMBER" >
H A Dtest1337 netrc
37 FTP compulsory .netrc; ignore passwd in URL
40 -n --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://mary:mark@%HOSTIP:%FTPPORT/
42 <file name="%LOGDIR/netrc%TESTNUMBER" >
H A Dtest2579 netrc
71 HTTP Location: following with --netrc-optional
74 …e.com/want/%TESTNUMBER -L -x http://%HOSTIP:%HTTPPORT --netrc-optional --netrc-file %LOGDIR/netrc%…
79 # netrc auth for two out of three sites:
80 <file name="%LOGDIR/netrc%TESTNUMBER">
H A Dtest4955 netrc
35 user+password in URL with optional netrc
40 http://foo%40bar:secret@%HOSTIP:%HTTPPORT/%TESTNUMBER --netrc-optional
/curl/docs/libcurl/opts/
H A DCURLOPT_NETRC_FILE.md17 CURLOPT_NETRC_FILE - filename to read .netrc info from
30 containing the full path name to the *file* you want libcurl to use as .netrc
32 for a .netrc file in the current user's home directory.
51 curl_easy_setopt(curl, CURLOPT_NETRC_FILE, "/tmp/magic-netrc");
H A DCURLOPT_NETRC.md17 CURLOPT_NETRC - enable use of .netrc
30 usernames and passwords from your *~/.netrc* file, relative to usernames and
33 On Windows, libcurl primarily checks for *.netrc* in *%HOME%*. If *%HOME%* is
55 libcurl ignores the *.netrc* file. This is the default.
59 The use of the *.netrc* file is optional, and information in the URL is to
66 The use of the *.netrc* file is required, and any credential information
74 The **.netrc** file format is simple: you specify lines with a machine name
85 Provides credentials for a host called **name**. libcurl searches the .netrc
107 Note that if this token is present in the .netrc file you really should make
113 rest of the .netrc to still work fine, libcurl properly skips every definition
/curl/docs/libcurl/
H A Dlibcurl-env.md58 When the netrc feature is used (CURLOPT_NETRC(3)), this variable is
60 the .netrc file is likely to exist.
64 When the netrc feature is used (CURLOPT_NETRC(3)), this variable is
66 only) in which the .netrc file is likely to exist.

Completed in 45 milliseconds

12