Lines Matching refs:sendcmd
278 def sendcmd(self, cmd): member in FTP
327 untrusted_host, port = parse227(self.sendcmd('PASV'))
333 host, port = parse229(self.sendcmd('EPSV'), self.sock.getpeername())
358 self.sendcmd("REST %s" % rest)
359 resp = self.sendcmd(cmd)
376 self.sendcmd("REST %s" % rest)
377 resp = self.sendcmd(cmd)
412 resp = self.sendcmd('USER ' + user)
414 resp = self.sendcmd('PASS ' + passwd)
416 resp = self.sendcmd('ACCT ' + acct)
461 resp = self.sendcmd('TYPE A')
584 self.sendcmd("OPTS MLST " + ";".join(facts) + ";")
601 resp = self.sendcmd('RNFR ' + fromname)
608 resp = self.sendcmd('DELE ' + filename)
630 resp = self.sendcmd('SIZE ' + filename)
908 sourcehost, sourceport = parse227(source.sendcmd('PASV'))
913 treply = target.sendcmd('STOR ' + targetname)
916 sreply = source.sendcmd('RETR ' + sourcename)
971 resp = ftp.sendcmd(cmd)