$ftp->ls([dir])
ftp
dir
Lists directory, dir, returning a reference to the list. Defaults to the current working directory.
Copyright © 2001 O'Reilly & Associates. All rights reserved.