Method: Ftpd::DiskFileSystem::PathExpansion#expand_ftp_path
- Defined in:
- lib/ftpd/disk_file_system.rb
#expand_ftp_path(ftp_path) ⇒ Object
Expand an ftp_path to an absolute file system path.
ftp_path is an absolute path relative to the FTP file system. The return value is an absolute path relative to the disk file system.
25 26 27 |
# File 'lib/ftpd/disk_file_system.rb', line 25 def (ftp_path) File.(File.join(@data_dir, ftp_path)) end |