Integral FTP

Class FTPFileList

Object
   |
   +--FTPFileList

class FTPFileList


An instance of this class represents a collection of files - usually those in a particular directory. It's important to note that FTPFileList is not itself an array - the member files is an array of FTPFiles.
Defined in ftpclient.js


Field Summary
 FTPFile files
          An array of files.
 
Constructor Summary
FTPFileList()
            Constructs a file-list object.
 
Method Summary
 void add(path, name, <FTPFileSize> size, date, <boolean> isDirectory, <boolean> isTextFile)
           Add a file to the end of the files array.
 boolean containsFileName(<string> name)
           Returns true of a file with the give name is in the list.
 boolean containsFilePath(<string> path)
           Returns true of a file with the give path is in the list.
 FTPFile findByFileName(<string> name)
           Returns the file with the give name or null if there isn't one in the list.
 void insert(<int> index, path, name, <FTPFileSize> size, date, <boolean> isDirectory, <boolean> isTextFile)
           Inserts a file at the given index of the files array.

Field Detail

files

FTPFile files

Constructor Detail

FTPFileList

FTPFileList()

Method Detail

add

void add(path, name, <FTPFileSize> size, date, <boolean> isDirectory, <boolean> isTextFile)

containsFileName

boolean containsFileName(<string> name)

containsFilePath

boolean containsFilePath(<string> path)

findByFileName

FTPFile findByFileName(<string> name)

insert

void insert(<int> index, path, name, <FTPFileSize> size, date, <boolean> isDirectory, <boolean> isTextFile)

Integral FTP

Documentation generated by JSDoc on Tue Jan 24 10:46:49 2012