Module: Ftpd::DiskFileSystem::NameList
Overview
DiskFileSystem mixin providing directory name listing
Instance Method Summary collapse
-
#name_list(ftp_path) ⇒ Object
Get a file list, short form.
Methods included from Ls
Instance Method Details
#name_list(ftp_path) ⇒ Object
Get a file list, short form.
This returns one filename per line, and nothing else
Called for:
-
NLST
If missing, then these commands are not supported.
300 301 302 |
# File 'lib/ftpd/disk_file_system.rb', line 300 def name_list(ftp_path) ls(ftp_path, '-1') end |