ITempFilesComponent

ITempFilesComponent

This interface adds new temporary files and gets all the existing temporary files from the project.

Declaration

ITempFilesComponent : IDispatch

Properties

Array<ITempFile> Files - Gets all the temporary files from the project.

Methods

AddFile(String source) - Adds a new temporary file from a specified disk location, source.

AddFolder (String source) - Adds a folder and all the files it contains to the Temporary folder. Returns an array with one ITempFile for each file that was added.
The source parameter should contain the full path of the folder to add. Subfolders are included. The source folder name and its folder structure are kept. For example, C:\Build\Payload\Nested\data.json will be added as Temporary\Payload\Nested\data.json.