<-- Back

How to check the file path for specific uploaded files

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. 

  1. Check the uploaded files path from the Windows Service Console. This is the location of the uploaded files.
  2. Query the database table system$filesdocument to get the UUID of the specific files. 
  3. 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 folder e4/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

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.

To provide feedback, please open a ticket here. Don't forget to include the article's URL along with the feedback you would like to provide.