The following tables list the members exposed by CPFileBaseClass.

Public Constructors

  Name Description
Public method CPFileBaseClass  
Top

Public Methods

  Name Description
Public method AppendVirtual Append content to a text file in the content files. If the file does not exist it will be created.
Public method CopyVirtual Copies a file in the content file area to another. If the destination does not exist it is created. Filenames may include subfolders but should not include a leading slash.
Public method CreateFolder Create a folder given a physical folder path.
Public method Delete Delete a file given the complete physical path and filename.
Public method DeleteVirtual Delete a file in the content file area. The filename may contain subfolders and should not begin with a leading slash.
Public method fileExists Returns true if a file exists
Public method fileList  
Public method folderExists Returns true if a folder exists
Public method folderList Get a crlf delimited list of folders in a given path. Each row is a tab delimited list of attributes for each folder. The attributes are: Name Attributes DateCreated DateLastAccessed DateLastModified Type
Public method Read Read a text file given the complete physical path and filename.
Public method ReadVirtual Read a text file in the content file area. The filename may contain subfolders and should not begin with a leading slash.
Public method Save Save or create a text file given the complete physical path and filename.
Public method SaveVirtual Save a text file in the content file area. The filename may contain subfolders and should not begin with a leading slash.
Top

See Also