The following tables list the members exposed by CPFileBaseClass.
Public Constructors
| Name | Description | |
|---|---|---|
|
CPFileBaseClass |
Public Methods
| Name | Description | |
|---|---|---|
|
AppendVirtual | Append content to a text file in the content files. If the file does not exist it will be created. |
|
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. |
|
CreateFolder | Create a folder given a physical folder path. |
|
Delete | Delete a file given the complete physical path and filename. |
|
DeleteVirtual | Delete a file in the content file area. The filename may contain subfolders and should not begin with a leading slash. |
|
fileExists | Returns true if a file exists |
|
fileList | |
|
folderExists | Returns true if a folder exists |
|
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 |
|
Read | Read a text file given the complete physical path and filename. |
|
ReadVirtual | Read a text file in the content file area. The filename may contain subfolders and should not begin with a leading slash. |
|
Save | Save or create a text file given the complete physical path and filename. |
|
SaveVirtual | Save a text file in the content file area. The filename may contain subfolders and should not begin with a leading slash. |