File Uploads
Files that users upload are stored in the xAssets database as documents. The settings below set the largest file a user can upload, and how long an unlinked import file is kept.
Upload Settings
Both settings are in the Registry class of Admin > Settings.
| Setting | Code | Shipped value | Effect |
|---|---|---|---|
| Largest file a user can upload, in MB | MaxUploadFileSize |
10 | Files larger than this are refused, in the browser and on the server. Blank, 0 or text counts as 10. |
| Days to keep an uploaded file that is not linked | StagedFileKeepDays |
30 | Files uploaded for an import, a transformation prompt or a workflow answer, and never attached to a record, are deleted after this many days. |
The server also has a fixed ceiling of 64 MB for one upload request. A Largest file a user can upload, in MB value above 64 has no effect beyond that ceiling.
Collection servers and discovery files are not limited by Largest file a user can upload, in MB.
Refused Files
A refused file is not stored. The upload area says why. Examples:
- "'big.xlsx' is larger than the 10 MB upload limit."
- "Files of type .exe cannot be stored as documents. Documents, images, mail, drawings, archives and media files can; zip anything else first."
Documents can be office files, PDFs, text, CSV, XML and JSON, images, mail messages (.msg, .eml), drawings, archives (.zip, .7z and others), audio and video. Script and configuration text files such as .ps1, .sql and .ini are accepted too. Programs, installers, certificates, private keys, web pages and SVG images are refused. Zip a file of another type before you upload it.
Files Waiting to Be Linked
A file uploaded for an import, a transformation prompt or a workflow answer is held apart until a record uses it. It does not appear in the document lists. It becomes an ordinary document when it is attached to a record. A file in an import's inbox, or named by an import run that is still kept, is not deleted. See Runs and Importing files on a schedule.
Related Articles
- Settings -- finding and editing a setting
- How to Build an Import -- imports, their runs and their inbox
- Attaching Images and Documents to Assets -- uploading files to records, file versions and the camera