= private = protected
delete(filename)
Deletes a file on the server.
# File lib/net/ftp.rb, line 654 def delete(filename) resp = sendcmd("DELE " + filename) if resp[0, 3] == "250" return elsif resp[0] == ?5 raise FTPPermError, resp else raise FTPReplyError, resp end end