$ ftp ->list ([ dir ])
ftp
dir
Lists a directory, dir , for display. If the user calls either pasv or port , returns true or false. Otherwise, returns a reference to a Net::FTP::dataconn object. If directory is omitted, defaults to the current directory.
pasv
port
Copyright © 2001 O'Reilly & Associates. All rights reserved.