Module: Ftpd::DiskFileSystem::Mkdir

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

#mkdir(ftp_path) ⇒ Object

Create a directory. Called for:

  • MKD

If missing, then these commands are not supported.

Parameters:

  • ftp_path (String)

    The virtual path



189
190
191
# File 'lib/ftpd/disk_file_system.rb', line 189

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