Module: Ftpd::DiskFileSystem::Rmdir

Includes:
TranslateExceptions
Included in:
Ftpd::DiskFileSystem
Defined in:
lib/ftpd/disk_file_system.rb

Overview

DiskFileSystem mixing providing mkdir

Instance Method Summary collapse

Methods included from TranslateExceptions

included, #translate_exception

Instance Method Details

#rmdir(ftp_path) ⇒ Object

Remove a directory.

Called for:

  • RMD

If missing, then these commands are not supported.



194
195
196
# File 'lib/ftpd/disk_file_system.rb', line 194

def rmdir(ftp_path)
  Dir.rmdir expand_ftp_path(ftp_path)
end