:FileList()
Class
Syntax
:FileList( cDir, [lNameOnly], [hSession] ) -> cFileList
Parameters
|
|
cDir |
String defining the name of the directory or wild card pattern to list |
|
|
lNameOnly |
Optional. Logical indicating whether list should be names only (.T.) or complete (.F.) Default is .F., Full List |
|
|
hSession |
Optional: If hSession is not passed, the value in :Session will be used |
Return
Returns a list of files in the default format of the remote server.
Description
This function is provided as an alternative to the preferred :OpenDirectory() method.
It is useful in the following circumstances:
1. Only a list of file names is desired. -- OR --
2. The FTP server returns complete file listings in a format that is not supported by the aSocks FTP
Class.
See Also
:ChangeDirectory(), :CloseDirectory(), :GetDirectoryFormat(), :OpenDirectory()