Net_FTP::size() (Previous) (Next) Net_FTP::rm()

View this page in Last updated: Sun, 28 Sep 2008
English | French | German | Hungarian | Japanese | Polish | Spanish | Plain HTML

Net_FTP::ls()

Net_FTP::ls() -- returns the listing of a directory in a specified way.

Description

this function gives you a listing of either the files / directories / both or an unformated array (like the PHP function ftp_rawlist()).

Paramètres

  • string [$dir = null] - The directory to list. You can either use a relative or an absolute path. This optional parameter will be set to the current path.

  • [int $mode = NET_FTP_DIRS_FILES] - A constant representing the nodes list (directories, files, both or a ram directory listing). This parameter is determined by the constants (see: Constants). This parameter is optional and will be set for listing directories and files structured in an array.

Valeur retournée

mixed - a directory listing in the form you determine on success, otherwise PEAR::Error.

Note

Cette fonction ne peut pas être appelée de façon statique.

Net_FTP::size() (Previous) (Next) Net_FTP::rm()

Download Documentation Last updated: Sun, 28 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.