Hi Shaik,
The correct approach for files created in the Mendix application would be to retrieve the files in a microflow and delete them in that microflow. Mendix handles the data consistency between the database reference for that file and the file on the file-system. It will remove from both (database record and file system) once the microflow completes. If you delete files in another way you might get orphaned files or database references to files that no longer exist.
If this doesn't solve your question can you please elaborate on where you find these files and how they were added to the application?
With kind regards, Stephan
Hi,
For example:
Record in Database:
Record in Application server folder
Microflow :
I have tried to retrieve from File document entity after that i have used delete activity.
In this microflow am passing the fileID.
But after Deleting the files gets removed from Database but remains in Application folder.
Regards,
Shabana