Home
last modified time | relevance | path

Searched refs:netrc (Results 1 – 25 of 60) sorted by relevance

123

/external/python/cpython3/Doc/library/
Dnetrc.rst2 :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 …]
Dfileformats.rst15 netrc.rst
/external/python/cpython2/Doc/library/
Dnetrc.rst2 :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 …]
Dfileformats.rst17 netrc.rst
/external/python/cpython3/Lib/test/
Dtest_netrc.py1 import netrc, os, unittest, sys, tempfile, textwrap
16 return netrc.netrc(temp_filename)
123 nrc = netrc.netrc()
127 self.assertRaises(netrc.NetrcParseError, netrc.netrc)
135 self.assertRaises(FileNotFoundError, netrc.netrc)
138 self.assertRaises(FileNotFoundError, netrc.netrc,
162 nrc = netrc.netrc()
/external/curl/docs/cmdline-opts/
Dnetrc-file.d1 Long: netrc-file
2 Help: Specify FILE for netrc
5 Mutexed: netrc
8 This option is similar to --netrc, except that you provide the path (absolute
9 or relative) to the netrc file that curl should use. You can only specify one
10 netrc file per invocation. If several --netrc-file options are provided,
13 It will abide by --netrc-optional if specified.
Dnetrc-optional.d1 Long: netrc-optional
2 Help: Use either .netrc or URL
3 Mutexed: netrc
4 See-also: netrc-file
7 Very similar to --netrc, but this option makes the .netrc usage \fBoptional\fP
8 and not mandatory as the --netrc option does.
Dnetrc.d1 Long: netrc
3 Help: Must read .netrc for user name and password
6 Makes curl scan the \fI.netrc\fP (\fI_netrc\fP on Windows) file in the user's
14 A quick and very simple example of how to setup a \fI.netrc\fP to allow curl
Duser.d8 --netrc and --netrc-optional.
DMakefile.inc118 netrc-file.d \
119 netrc-optional.d \
120 netrc.d \
/external/python/cpython2/Lib/test/
Dtest_netrc.py1 import netrc, os, unittest, sys, textwrap
17 return netrc.netrc(temp_filename)
124 nrc = netrc.netrc()
128 self.assertRaises(netrc.NetrcParseError, netrc.netrc)
/external/curl/tests/data/
Dtest1327 netrc
37 FTP (optional .netrc; user/passwd supplied) dir list PASV
40 --netrc-optional --netrc-file log/netrc132 ftp://mary:mark@%HOSTIP:%FTPPORT/
Dtest1317 netrc
38 FTP (optional .netrc; user/no pass) dir list PASV
41 --netrc-optional --netrc-file log/netrc131 ftp://user2@%HOSTIP:%FTPPORT/
Dtest1347 netrc
37 FTP (optional .netrc; programmatic user/passwd) dir list PASV
40 --netrc-optional --netrc-file log/netrc134 -u romulus:rhemus ftp://mary:mark@%HOSTIP:%FTPPORT/
Dtest1307 netrc
37 FTP (optional .netrc; no user/pass) dir list PASV
40 --netrc-optional --netrc-file log/netrc130 ftp://%HOSTIP:%FTPPORT/
Dtest20397 netrc
37 FTP (optional .netrc with 'default' override; no user/pass) dir list PASV
40 --netrc-optional --netrc-file log/netrc2039 ftp://%HOSTIP:%FTPPORT/
Dtest2579 netrc
71 HTTP Location: following with --netrc-optional
74 http://supersite.com/want/257 -L -x http://%HOSTIP:%HTTPPORT --netrc-optional --netrc-file log/netr…
79 # netrc auth for two out of three sites:
Dtest1337 netrc
37 FTP (compulsory .netrc; ignored user/passwd) dir list PASV
40 -n --netrc-file log/netrc133 ftp://mary:mark@%HOSTIP:%FTPPORT/
Dtest13045 netrc
19 netrc parsing unit tests
/external/curl/docs/
Doptions-in-versions116 --netrc (-n) 4.6
117 --netrc-file 7.21.5
118 --netrc-optional 7.9.8
/external/python/cpython2/Lib/
Dnetrc.py24 class netrc: class
145 print netrc()
Dnntplib.py146 import netrc
147 credentials = netrc.netrc()
/external/python/cpython3/Lib/
Dnetrc.py22 class netrc: class
139 print(netrc())
/external/python/cpython2/Misc/NEWS.d/
D2.7.2.rst7 Fixed regression in netrc file comment handling.
/external/curl/lib/
DMakefile.inc58 multi.c netrc.c non-ascii.c nonblock.c openldap.c parsedate.c pingpong.c \
77 mime.h mqtt.h multihandle.h multiif.h netrc.h non-ascii.h nonblock.h \

123