More in this section
Forums / Developing with Sitefinity / Cleanup FileSystem storage files

Cleanup FileSystem storage files

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Nidhi
    Nidhi avatar
    40 posts
    20 Jul 2010
    13 Apr 2017
    Link to this post


    We have a project where we use the FileSystem as the default storage provider for images and documents. We've got about ~20000 files in the FileSystem. We recently deleted a bunch of images and documents from Sitefinity but it doesnt look like the files got deleted from the FileSystem because it still shows the same number of files in the folder. It's using unnecessary disk space - how can we clean up the folder? Is there any code I can run one time to find out which files aren't in use anymore?




1 posts, 0 answered