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.


238
239
240
# File 'lib/ftpd/disk_file_system.rb', line 238

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