mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:51:42 +03:00
docs: mention that the netrc file works without port numbers
Closes #17698
This commit is contained in:
parent
64fe36aaa0
commit
bbadbd7795
2 changed files with 6 additions and 0 deletions
|
|
@ -25,6 +25,9 @@ file format. curl does not complain if that file does not have the right
|
|||
permissions (it should be neither world- nor group-readable). The environment
|
||||
variable "HOME" is used to find the home directory.
|
||||
|
||||
The netrc file provides credentials for a hostname independent of which
|
||||
protocol and port number that are used.
|
||||
|
||||
On Windows two filenames in the home directory are checked: *.netrc* and
|
||||
*_netrc*, preferring the former. Older versions on Windows checked for *_netrc*
|
||||
only.
|
||||
|
|
|
|||
|
|
@ -46,6 +46,9 @@ the options controlled by this parameter.
|
|||
Only machine name, username and password are taken into account (init macros
|
||||
and similar things are not supported).
|
||||
|
||||
The netrc file provides credentials for a hostname independent of which
|
||||
protocol and port number that are used.
|
||||
|
||||
libcurl does not verify that the file has the correct properties set (as the
|
||||
standard Unix ftp client does). It should only be readable by user.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue