$
ftp
->nlst
([
dir
])
Lists a directory,
dir
, for further processing. With no argument,
defaults to the current directory.
If the user calls either
pasv
or
port
, returns
true or false. Otherwise, returns a reference to a Net::FTP::dataconn
object.