Home | History | Annotate | Download | only in python2.7

Lines Matching refs:passwd

9 >>> ftp.login() # default, i.e.: user anonymous, passwd anonymous@
82 host, user, passwd, acct, timeout
112 # and user, passwd, acct (for login())
113 def __init__(self, host='', user='', passwd='', acct='',
119 self.login(user, passwd, acct)
373 def login(self, user = '', passwd = '', acct = ''):
376 if not passwd: passwd = ''
378 if user == 'anonymous' and passwd in ('', '-'):
386 passwd = passwd + 'anonymous@'
388 if resp[0] == '3': resp = self.sendcmd('PASS ' + passwd)
634 def __init__(self, host='', user='', passwd='', acct='', keyfile=None,
639 FTP.__init__(self, host, user, passwd, acct, timeout)
641 def login(self, user='', passwd='', acct='', secure=True):
644 return FTP.login(self, user, passwd, acct)
917 host = user = passwd = acct = None
935 passwd = w2
948 self.__defpasswd = passwd or self.__defpasswd
955 passwd = passwd or opasswd
957 self.__hosts[host] = user, passwd, acct
972 user = passwd = acct = None
974 user, passwd, acct = self.__hosts[host]
976 passwd = passwd or self.__defpasswd
978 return user, passwd, acct
1015 userid = passwd = acct = ''
1024 userid, passwd, acct = netrc.get_account(host)
1029 ftp.login(userid, passwd, acct)