sv:temporaryFile
The sole purpose of a sv:temporaryFile is to represent a java.io.File as javax.jcr.Node in order to support file-related operations in the API. Temporary file nodes are very volatile and short-lived.
- They have no parent, nor any children.
- A temporary file node can never be looked up by its identifier and it should never be cached.
Files uploaded to Web/RESTApps are exposed as sv:temporaryFile (see req.file and res.sendFile).
Name | Type and description |
---|---|
<file-name> | Dynamic |
The name of the file |
Name | Type and description |
---|---|
fileName | javax.jcr.PropertyType.STRING |
The name of the file | |
length | javax.jcr.PropertyType.LONG |
The length of the file |
Note! This node type was introduced in Sitevision 4.5.4