Searched refs:netrc (Results 1 – 25 of 74) sorted by relevance
123
/external/python/cpython3/Doc/library/ |
D | netrc.rst | 2 :mod:`netrc` --- netrc file processing 5 .. module:: netrc 6 :synopsis: Loading of .netrc files. 11 **Source code:** :source:`Lib/netrc.py` 15 The :class:`~netrc.netrc` class parses and encapsulates the netrc file format used by 19 .. class:: netrc([file]) 21 A :class:`~netrc.netrc` instance or subclass instance encapsulates data from a netrc 23 no argument is given, the file :file:`.netrc` in the user's home directory -- 29 the :file:`.netrc` file will raise a :exc:`NetrcParseError` if the file 33 programs that use :file:`.netrc`. [all …]
|
/external/python/cpython2/Doc/library/ |
D | netrc.rst | 2 :mod:`netrc` --- netrc file processing 5 .. module:: netrc 6 :synopsis: Loading of .netrc files. 13 **Source code:** :source:`Lib/netrc.py` 17 The :class:`~netrc.netrc` class parses and encapsulates the netrc file format used by 21 .. class:: netrc([file]) 23 A :class:`~netrc.netrc` instance or subclass instance encapsulates data from a netrc 25 no argument is given, the file :file:`.netrc` in the user's home directory will 29 the :file:`.netrc` file will raise a :exc:`NetrcParseError` if the file 33 programs that use :file:`.netrc`. [all …]
|
/external/curl/docs/cmdline-opts/ |
D | netrc-file.d | 3 Long: netrc-file 4 Help: Specify FILE for netrc 7 Mutexed: netrc 9 Example: --netrc-file netrc $URL 10 See-also: netrc user config 13 This option is similar to --netrc, except that you provide the path (absolute 14 or relative) to the netrc file that curl should use. You can only specify one 15 netrc file per invocation. 17 It will abide by --netrc-optional if specified.
|
D | netrc-optional.d | 3 Long: netrc-optional 4 Help: Use either .netrc or URL 5 Mutexed: netrc 6 See-also: netrc-file 8 Example: --netrc-optional $URL 12 Similar to --netrc, but this option makes the .netrc usage **optional** 13 and not mandatory as the --netrc option does.
|
D | netrc.d | 3 Long: netrc 5 Help: Must read .netrc for user name and password 7 Example: --netrc $URL 9 See-also: netrc-file config user 10 Mutexed: netrc-file netrc-optional 13 Makes curl scan the *.netrc* (*_netrc* on Windows) file in the user's home
|
/external/python/cpython3/Lib/test/ |
D | test_netrc.py | 1 import netrc, os, unittest, sys, tempfile, textwrap 17 return netrc.netrc(temp_filename) 122 nrc = netrc.netrc() 126 self.assertRaises(netrc.NetrcParseError, netrc.netrc) 132 self.assertRaises(FileNotFoundError, netrc.netrc) 135 self.assertRaises(FileNotFoundError, netrc.netrc, 157 nrc = netrc.netrc()
|
/external/curl/tests/data/ |
D | test381 | 7 netrc 38 # using the netrc is mandatory. 41 netrc-optional lets URL creds override netrc 45 --netrc-optional --netrc-file log/netrc%TESTNUMBER ftp://mary:drfrank@%HOSTIP:%FTPPORT/ 47 <file name="log/netrc%TESTNUMBER" >
|
D | test680 | 5 netrc 23 netrc with quoted password but missing end quote 26 --netrc --netrc-file log/netrc%TESTNUMBER http://user1@http.example/ 28 <file name="log/netrc%TESTNUMBER" >
|
D | test684 | 5 netrc 30 netrc with no login 33 --netrc-optional --netrc-file log/netrc%TESTNUMBER http://%HOSTIP:%HTTPPORT/ 35 <file name="log/netrc%TESTNUMBER" >
|
D | test685 | 5 netrc 30 netrc with no login - provided user 33 --netrc-optional --netrc-file log/netrc%TESTNUMBER http://user@%HOSTIP:%HTTPPORT/ 35 <file name="log/netrc%TESTNUMBER" >
|
D | test494 | 6 netrc 25 skip 'macdef' when parsing netrc 28 --netrc --netrc-file log/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/%TESTNUMBER 30 <file name="log/netrc%TESTNUMBER" >
|
D | test683 | 5 netrc 30 netrc with multiple logins - pick second 33 --netrc-optional --netrc-file log/netrc%TESTNUMBER http://user2@%HOSTIP:%HTTPPORT/ 35 <file name="log/netrc%TESTNUMBER" >
|
D | test682 | 5 netrc 30 netrc with multiple logins - pick first 33 --netrc-optional --netrc-file log/netrc%TESTNUMBER http://user1@%HOSTIP:%HTTPPORT/ 35 <file name="log/netrc%TESTNUMBER" >
|
D | test134 | 7 netrc 37 FTP (optional .netrc; programmatic user/passwd) dir list PASV 40 # -u overrides netrc which overrides the URL 42 --netrc-optional --netrc-file log/netrc%TESTNUMBER -u romulus:rhemus ftp://mary:mark@%HOSTIP:%FTPPO… 44 <file name="log/netrc%TESTNUMBER" >
|
D | test679 | 5 netrc 34 netrc with quoted password 37 --netrc-optional --netrc-file log/netrc%TESTNUMBER http://%HOSTIP:%HTTPPORT/ 39 <file name="log/netrc%TESTNUMBER" >
|
D | test380 | 7 netrc 37 pick netrc password based on user name in URL 41 --netrc --netrc-file log/netrc%TESTNUMBER ftp://mary@%HOSTIP:%FTPPORT/ 43 <file name="log/netrc%TESTNUMBER" >
|
D | test131 | 7 netrc 38 FTP (optional .netrc; user/no pass) dir list PASV 41 --netrc-optional --netrc-file log/netrc%TESTNUMBER ftp://user2@%HOSTIP:%FTPPORT/ 43 <file name="log/netrc%TESTNUMBER" >
|
D | test132 | 7 netrc 37 FTP (optional .netrc; user/passwd supplied) dir list PASV 40 --netrc-optional --netrc-file log/netrc%TESTNUMBER ftp://mary:mark@%HOSTIP:%FTPPORT/ 42 <file name="log/netrc%TESTNUMBER" >
|
D | test2039 | 7 netrc 37 FTP (optional .netrc with 'default' override; no user/pass) dir list PASV 40 --netrc-optional --netrc-file log/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/ 42 <file name="log/netrc%TESTNUMBER" >
|
D | test130 | 7 netrc 37 FTP (optional .netrc; no user/pass) dir list PASV 40 --netrc-optional --netrc-file log/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/ 42 <file name="log/netrc%TESTNUMBER" >
|
D | test257 | 9 netrc 71 HTTP Location: following with --netrc-optional 74 …ite.com/want/%TESTNUMBER -L -x http://%HOSTIP:%HTTPPORT --netrc-optional --netrc-file log/netrc%TE… 79 # netrc auth for two out of three sites: 80 <file name="log/netrc%TESTNUMBER">
|
D | test133 | 7 netrc 37 FTP compulsory .netrc; ignore passwd in URL 40 -n --netrc-file log/netrc%TESTNUMBER ftp://mary:mark@%HOSTIP:%FTPPORT/ 42 <file name="log/netrc%TESTNUMBER" >
|
D | test1304 | 5 netrc 19 netrc parsing unit tests 21 <file name="log/netrc%TESTNUMBER">
|
D | test495 | 5 netrc 35 user+password in URL with optional netrc 40 http://foo%40bar:secret@%HOSTIP:%HTTPPORT/%TESTNUMBER --netrc-optional
|
/external/python/cpython2/Lib/test/ |
D | test_netrc.py | 1 import netrc, os, unittest, sys, textwrap 17 return netrc.netrc(temp_filename) 124 nrc = netrc.netrc() 128 self.assertRaises(netrc.NetrcParseError, netrc.netrc)
|
123