Method: XFTP::Session::FTP#files
- Defined in:
- lib/xftp/session/ftp.rb
#files ⇒ Array<String>
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns an array of filenames in the remote directory.
118 119 120 |
# File 'lib/xftp/session/ftp.rb', line 118 def files entries.select { |entry| file? entry } end |