2

In our solution, when we publish the image content they are deployed onto image servers in a folder structure. When we unpublish\update the image content then is there a way to delete the left over empty folders using Tridion? Heard it has some house keeping techniques.

  • How exactly is the content transferred to the image server? If this is done through a storage extension, then there will have to be something additionally done for this, if the image server is just a location in your cd_storage_conf.xml, then the Deployer/Broker should take care of cleaning up empty directories. – Bart Koopman Jul 11 '13 at 11:26
  • Just a thought but ... I recall in the past I had problems where folders didn't appear to be removed even when all published pages were unpublished - in my specific scenario I found this was (likely) as I had the folder open (eagerly watching for it to be removed) ... when performed the same unpublish (after publishing again) ensuring I had nothing connected to the folder this did, indeed, perform as Bart suggests it should. – Dylan .. Mark Saunders Jul 12 '13 at 7:34
3

I can confirm both @Dylan's & @Bart's answer, it should indeed delete the folder when the last page is unpublished from it.

I have just verified this with the windows service deployer, and would expect the same behavior from the other deployer types.

If you are not seeing the folder delete, double check the permissions of the user the deployer is running as. Also check the deployer log file for any error messages.

n.b. You can run the windows service deployer in command prompt, to see the debugging messages in real-time.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.