$ftp->nlst([dir])
ftp
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.
pasv
port
Copyright © 2001 O'Reilly & Associates. All rights reserved.