Module: Ftpd::DiskFileSystem::Delete
- Includes:
- TranslateExceptions
- Included in:
- Ftpd::DiskFileSystem
- Defined in:
- lib/ftpd/disk_file_system.rb
Overview
DiskFileSystem mixin providing file deletion
Instance Method Summary collapse
-
#delete(ftp_path) ⇒ Object
Remove a file.
Methods included from TranslateExceptions
included, #translate_exception
Instance Method Details
#delete(ftp_path) ⇒ Object
Remove a file. Called for:
-
DELE
If missing, then these commands are not supported.
108 109 110 |
# File 'lib/ftpd/disk_file_system.rb', line 108 def delete(ftp_path) FileUtils.rm (ftp_path) end |