= private = protected
rename(fromname, toname)
Renames a file on the server.
# File lib/net/ftp.rb, line 734 def rename(fromname, toname) resp = sendcmd("RNFR " + fromname) if resp[0] != 33 raise FTPReplyError, resp end voidcmd("RNTO " + toname) end