Clean orphan files from disk

0
  Hi all, how I can delete or clean physical files from the uploaded path since the disk storage always full.
asked
1 answers
1

The normal way is to delete the FileDocument object from Mendix, and Mendix will remove the corresponding files from disc.

There are however scenarios where orphaned files can occur:

  • when you remove an entity (NB: entity, not object) from the domain model that inherits from FileDocument
  • if you restore a backup without cleaning the files folder first
  • In older Mendix versions there was a bug leading to orphaned files
  • ...

 

There are several thereads on this that may be interesting for you to read:

https://forum.mendix.com/link/questions/89975

https://forum.mendix.com/link/questions/103132 

 

 

answered