Introduction
When files are uploaded to an application hosted in an on-premises Windows environment using the Mendix Service Console, they are stored in a file storage service. The file path is determined by the UUID of the file document. This article describes how to locate a specific uploaded file on disk.
Environment
Applications hosted in On-Premises
Instructions/Procedure
The uploaded file metadata (name, size, UUID, etc.) is stored in the database, and the actual file is stored in a separate file storage service.
- Check the uploaded files path from the Windows Service Console. This is the location of the uploaded files.
- Query the database table
system$filesdocumentto get the UUID of the specific files. - The first four characters of the UUID value are used to create the subfolder structure. For example, if the UUID is:
e43b3b1a-61ad-44d6-adfc-xxxxxx, the file will be stored in the foldere4/3b/, so the full structure on disk would be:[Uploaded files path]/e4/3b/e43b3b1a-61ad-44d6-adfc-xxxxxx
Outcome
Following these steps provides the full file path for any uploaded file stored in an on-premises Windows environment.
Internal information related
- 281014
Additional information
Mendix documentation: Location of apps and server files
0 Comments