File Object
EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects
Data Objects: Access - Document - EPrint - Event Queue - File - History - Import - Login Ticket - Request - Saved Search - Subject - User
Built in Fields
| Field Name | Type | Description |
|---|---|---|
| fileid | int field | The ID number of this File Object (unique within a single repository) |
| datasetid | id field | The dataset that the File Object belongs to. |
| objectid | int field | ID of the data object the file is associated with. |
| filename | id field | name of the file. |
| hash | id field | Hash of the file. |
| hash_type | id field | The type (e.g MD5, SHA1, etc.) of the above hash. |
| filesize | int field | The size in bytes of the file. |
| mtime | timestamp field | Time the File Object was last modified. |
| url | virtual url field | URL for retrieving the file. |
| data | virtual base64 field | Data of the file. (Not actual stored in the database, as field is virtual). |
See Also
- File::DataObj::File - API page