curl-w32/docs/cmdline-opts/netrc-file.md

541 B

c SPDX-License-Identifier Long Help Arg Added Mutexed Category Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl netrc-file Specify FILE for netrc <filename> 7.21.5 netrc curl single
netrc
user
config
--netrc-file netrc $URL

--netrc-file

This option is similar to --netrc, except that you provide the path (absolute or relative) to the netrc file that curl should use. You can only specify one netrc file per invocation.

It abides by --netrc-optional if specified.