2016-11-16 21:20:36 +08:00
|
|
|
Long: netrc-file
|
|
|
|
Help: Specify FILE for netrc
|
2017-03-11 18:44:06 +08:00
|
|
|
Arg: <filename>
|
2016-11-16 21:20:36 +08:00
|
|
|
Added: 7.21.5
|
|
|
|
Mutexed: netrc
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: curl
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --netrc-file netrc $URL
|
2016-11-16 21:20:36 +08:00
|
|
|
---
|
|
|
|
This option is similar to --netrc, except that you provide the path (absolute
|
2018-11-03 23:58:18 +08:00
|
|
|
or relative) to the netrc file that curl should use. You can only specify one
|
2016-11-16 21:20:36 +08:00
|
|
|
netrc file per invocation. If several --netrc-file options are provided,
|
|
|
|
the last one will be used.
|
|
|
|
|
|
|
|
It will abide by --netrc-optional if specified.
|