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