Lines Matching refs:sendcmd
270 def sendcmd(self, cmd): member in FTP
337 host, port = parse227(self.sendcmd('PASV'))
339 host, port = parse229(self.sendcmd('EPSV'), self.sock.getpeername())
364 self.sendcmd("REST %s" % rest)
365 resp = self.sendcmd(cmd)
382 self.sendcmd("REST %s" % rest)
383 resp = self.sendcmd(cmd)
418 resp = self.sendcmd('USER ' + user)
420 resp = self.sendcmd('PASS ' + passwd)
422 resp = self.sendcmd('ACCT ' + acct)
467 resp = self.sendcmd('TYPE A')
590 self.sendcmd("OPTS MLST " + ";".join(facts) + ";")
607 resp = self.sendcmd('RNFR ' + fromname)
614 resp = self.sendcmd('DELE ' + filename)
636 resp = self.sendcmd('SIZE ' + filename)
916 sourcehost, sourceport = parse227(source.sendcmd('PASV'))
921 treply = target.sendcmd('STOR ' + targetname)
924 sreply = source.sendcmd('RETR ' + sourcename)
979 resp = ftp.sendcmd(cmd)