Searched refs:netrc (Results 1 - 16 of 16) sorted by relevance

/external/curl/docs/cmdline-opts/
H A Dnetrc-optional.d1 Long: netrc-optional
2 Help: Use either .netrc or URL
3 Mutexed: netrc
4 See-also: netrc-file
6 Very similar to --netrc, but this option makes the .netrc usage \fBoptional\fP
7 and not mandatory as the --netrc option does.
H A Dnetrc-file.d1 Long: netrc-file
2 Help: Specify FILE for netrc
5 Mutexed: netrc
7 This option is similar to --netrc, except that you provide the path (absolute
8 or relative) to the netrc file that Curl should use. You can only specify one
9 netrc file per invocation. If several --netrc-file options are provided,
12 It will abide by --netrc-optional if specified.
H A Dnetrc.d1 Long: netrc
3 Help: Must read .netrc for user name and password
5 Makes curl scan the \fI.netrc\fP (\fI_netrc\fP on Windows) file in the user's
13 A quick and very simple example of how to setup a \fI.netrc\fP to allow curl
/external/python/cpython2/Lib/test/
H A Dtest_netrc.py1 import netrc, os, unittest, sys, textwrap namespace
16 return netrc.netrc(temp_filename)
111 fn = os.path.join(d, '.netrc')
120 nrc = netrc.netrc()
124 self.assertRaises(netrc.NetrcParseError, netrc.netrc)
/external/owasp/sanitizer/tools/
H A Dgooglecode_upload.py171 from netrc import netrc namespace
172 authenticators = netrc().authenticators("code.google.com")
/external/python/cpython2/Lib/
H A Dnetrc.py1 """An object-oriented interface to .netrc files."""
9 __all__ = ["netrc", "NetrcParseError"]
13 """Exception raised on syntax errors in the .netrc file."""
24 class netrc: class in inherits:
29 file = os.path.join(os.environ['HOME'], ".netrc")
31 raise IOError("Could not find .netrc: $HOME is not set")
106 ("~/.netrc file owner (%s) does not match"
111 "~/.netrc access too permissive: access"
129 """Dump the class data in the format of a .netrc file."""
145 print netrc()
[all...]
H A Dnntplib.py142 # If no login/password was specified, try to get them from ~/.netrc
146 import netrc namespace
147 credentials = netrc.netrc()
H A Dftplib.py914 """Class to parse & provide access to 'netrc' format files.
916 See the netrc(4) man page for information on the file format.
918 WARNING: This class is obsolete -- use module netrc instead.
929 ".netrc")
993 """Return a list of hosts mentioned in the .netrc file."""
1041 # get name of alternate ~/.netrc file:
1049 netrc = Netrc(rcfile)
1056 userid, passwd, acct = netrc.get_account(host)
/external/curl/src/
H A Dtool_cfgable.h105 bool netrc; member in struct:OperationConfig
H A Dtool_getparam.c271 {"n", "netrc", FALSE},
272 {"no", "netrc-optional", FALSE},
273 {"ne", "netrc-file", TRUE},
1671 /* use .netrc or URL */
1674 case 'e': /* netrc-file */
1678 /* pick info from .netrc, if this is used for http, curl will
1680 config->netrc = toggle;
H A Dtool_operate.c906 else if(config->netrc || config->netrc_file)
/external/curl/lib/
H A DMakefile.inc42 ldap.c version.c getenv.c escape.c mprintf.c telnet.c netrc.c \
58 LIB_HFILES = arpa_telnet.h netrc.h file.h timeval.h hostip.h progress.h \
H A Durldata.h553 bool netrc; /* name+password provided by netrc */ member in struct:ConnectBits
1464 $HOME/.netrc */
H A Dhttp.c726 conn->bits.netrc ||
H A Durl.c71 #include "netrc.h"
876 * Parse the $HOME/.netrc file
882 * Use this file instead of the $HOME/.netrc file
5444 * option or a .netrc file, if applicable.
5471 conn->bits.netrc = FALSE;
5478 DOT_CHAR "netrc file; using defaults\n",
5485 /* set bits.netrc TRUE to remember that we got the name from a .netrc
5488 conn->bits.netrc = TRUE;
/external/curl/tests/
H A Druntests.pl5277 if(($log =~ /^netrc\d+/) && ($log !~ /^netrc$testnum/)) {

Completed in 434 milliseconds