method

nlst

ruby latest stable - Class: Net::FTP
nlst(dir = nil)
public

Returns an array of filenames in the remote directory.