summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/netrc-file.md
blob: 3df72ce145e7c69390f67bfddd79edd05267f5b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: netrc-file
Help: Specify FILE for netrc
Arg: <filename>
Added: 7.21.5
Mutexed: netrc
Category: auth
Multi: single
See-also:
  - netrc
  - user
  - config
Example:
  - --netrc-file netrc $URL
---

# `--netrc-file`

Set the netrc file to use. Similar to --netrc, except that you also provide
the path (absolute or relative).

It abides by --netrc-optional if specified.