Lines Matching refs:user
9 >>> ftp.login() # default, i.e.: user anonymous, passwd anonymous@
78 host, user, passwd, acct, timeout, source_address, encoding
109 def __init__(self, host='', user='', passwd='', acct='',
115 and user, passwd, acct (for login()).
122 if user:
123 self.login(user, passwd, acct)
395 def login(self, user = '', passwd = '', acct = ''):
397 if not user:
398 user = 'anonymous'
403 if user == 'anonymous' and passwd in {'', '-'}:
409 # - We don't want to let ftp sites to discriminate by the user,
412 resp = self.sendcmd('USER ' + user)
690 Securing the data connection requires user to explicitly ask
718 def __init__(self, host='', user='', passwd='', acct='',
740 super().__init__(host, user, passwd, acct,
743 def login(self, user='', passwd='', acct='', secure=True):
746 return super().login(user, passwd, acct)
910 # RFC 959: the user must "listen" [...] BEFORE sending the
912 # So: STOR before RETR, because here the target is a "user".