= private = protected
chdir(dirname)
Changes the (remote) directory.
# File lib/net/ftp.rb, line 799 def chdir(dirname) if dirname == ".." begin voidcmd("CDUP") return rescue FTPPermError => e if e.message[0, 3] != "500" raise e end end end cmd = "CWD " + dirname voidcmd(cmd) end