I implemented a custom MediaService_Saving event which creates a subfolder in the media folder.
Like here Physical structure of media folder
If I delete an image from the media folder and empty the recycle bin, my custom folder is deleted with the images inside. Not only the one I want to delete.
Is there any solution that umbraco not delete the folder? Already tried the UploadAllowDirectories config entry, but no luck.
EmptyingRecycleBin deletes custom media subfolder
Hi,
I implemented a custom MediaService_Saving event which creates a subfolder in the media folder. Like here Physical structure of media folder
If I delete an image from the media folder and empty the recycle bin, my custom folder is deleted with the images inside. Not only the one I want to delete.
Is there any solution that umbraco not delete the folder? Already tried the UploadAllowDirectories config entry, but no luck.
Thanks, fabian
No idea?! I really stuck with this problem
If there is no way to avoid delete the whole folder I also have to override the MediaService EmptyRecycleBin method?
Cheers fabian
is working on a reply...