mirror of
https://github.com/curl/curl.git
synced 2026-08-06 16:26:15 +03:00
CURLOPT_NETRC.3: mention the file name on windows
... and CURLOPT_NETRC_FILE(3).
This commit is contained in:
parent
1767adf439
commit
7e48aa3861
1 changed files with 4 additions and 2 deletions
|
|
@ -30,7 +30,9 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_NETRC, long level);
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This parameter controls the preference \fIlevel\fP of libcurl between using
|
This parameter controls the preference \fIlevel\fP of libcurl between using
|
||||||
user names and passwords from your \fI~/.netrc\fP file, relative to user names
|
user names and passwords from your \fI~/.netrc\fP file, relative to user names
|
||||||
and passwords in the URL supplied with \fICURLOPT_URL(3)\fP.
|
and passwords in the URL supplied with \fICURLOPT_URL(3)\fP. On Windows,
|
||||||
|
libcurl will use the file as \fI%HOME/_netrc\fP, but you can also tell libcurl
|
||||||
|
a different file name to use with \fICURLOPT_NETRC_FILE(3)\fP.
|
||||||
|
|
||||||
libcurl uses a user name (and supplied or prompted password) supplied with
|
libcurl uses a user name (and supplied or prompted password) supplied with
|
||||||
\fICURLOPT_USERPWD(3)\fP or \fICURLOPT_USERNAME(3)\fP in preference to any of
|
\fICURLOPT_USERPWD(3)\fP or \fICURLOPT_USERNAME(3)\fP in preference to any of
|
||||||
|
|
@ -78,4 +80,4 @@ Always
|
||||||
.SH RETURN VALUE
|
.SH RETURN VALUE
|
||||||
Returns CURLE_OK
|
Returns CURLE_OK
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR CURLOPT_USERPWD "(3), " CURLOPT_USERNAME "(3), "
|
.BR CURLOPT_USERPWD "(3), " CURLOPT_USERNAME "(3), ", CURLOPT_NETRC_FILE "(3), "
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue