FILERequest

FILERequest

FILERequest allows to read or write any file on the controller machine CDP is running on.

FILERequest shares common properties with other URLRequests, but has also the following specific configuration properties:

PropertyDescription
URL<string>File URL (or pathname). Can be prefixed by FILE protocol scheme (file://). If not prefixed then the path is considered to be relative to CDP application folder.

Note: URL property will be processed by FormatTranslator before using, so you can send any request channel value in here, that can be useful for sending channel values as part of file or path name (note that values can also be ValueMap translated to any string).

MethodFILE method to use for request. Choose between PUT for composing and writing request channels into file and GET for retrieving file content and parsed into response channels.