ls $ftp->ls([dir]) Lists directory, dir, returning a reference to the list. Defaults to the current working directory.