File is the base type for all types that need to handle binary data / files etc. The binary data of a file is not stored in the database, but in an index tree folder structure on disk.
File extends AbstractNode and provides the following additional properties.
|String||The MIME type of this file|
|String||The relative path of the actual binary file on disk|
|Integer||The size of the file on disk|
|Long||The CRC32 checksum of the file’s contents|
|Integer||A value that controls the simple caching behaviour for this file|
|Integer||The version, will be increased by one for each modification to the file or its metadata|
|Boolean|| A read-only value that will always be |
|String, input only||A special property that can be used to Create a File from a Base64 string|
- The Structr Knowledge Graph
- About Structr
- Getting Started
- Installation and Setup
- Working with Structr
- Advanced Topics