
Create File in improve Repository
createFile.RdCreates a file resource in the repository, optionally uploading content from a local file.
Arguments
- targetIdent
Identifier(s) of the parent folder(s) where the file should be created. Can be a path, resource ID, or entity ID.
- fileName
Character. Name of the file to be created. If empty and
localPathis provided, the basename oflocalPathis used.- localPath
Character. Path to a local file whose content will be uploaded. If empty, an empty file resource is created (metadata only).
- comment
Character. Comment for the creation audit entry. Defaults to "Created by improveR".