home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


list

 $

ftp


->list
([

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.