Kaydet (Commit) 0eaa74bf authored tarafından Guido van Rossum's avatar Guido van Rossum

add acct() method to send new account name

üst ba426640
......@@ -328,6 +328,11 @@ class FTP:
conn.close()
self.voidresp()
# Send new account name
def acct(self, password):
cmd = 'ACCT ' + password
self.voidcmd(cmd)
# Return a list of files in a given directory (default the current)
def nlst(self, *args):
cmd = 'NLST'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment