= private = protected
delete(filename)
Deletes a file on the server.
# File lib/net/ftp.rb, line 1133 def delete(filename) resp = sendcmd("DELE #{filename}") if resp.start_with?("250") return elsif resp.start_with?("5") raise FTPPermError, resp else raise FTPReplyError, resp end end