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.

Parameters:

  • ftp_path (String)

    The virtual path



240
241
242
# File 'lib/ftpd/disk_file_system.rb', line 240

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