6

I've asked a question about WebDAV being disabled on Content Delivery servers but Sitecore Diagnostics Tool keeps showing that I was still missing something.

At that time the answer showed what Sitecore Diagnostics Tool uses to verify where WebDAV is enabled or not. So, I ended up finding that Sitecore.Tasks.CleanupFDAObsoleteMediaData in SwitchMasterToWeb.config was the cause.

That being said I was wondering what exactly Sitecore.Tasks.CleanupFDAObsoleteMediaData is used for and the reason of being related to WebDAV if any?

enter image description here

Any ideas?

2 Answers 2

1

FDA is short for File Drop Area - as in WebDAV File Drop Area.

It's a field type that allows content editors to drag and drop media data (well files) directly into the CMS via WebDAV.

It machine generates folder names to drop these files into; this cleanup task will remove any of these machine generated folders that may no longer be in use.

See also:

2
  • It makes more sense now! However, the SDT keeps saying WebDAV is enabled until I comment that entire line I added to my question then the 'warning' goes away. Is that the best approach then? Jul 28, 2017 at 13:44
  • By enabling "SwitchMasterToWeb", you enable the CleanupFDAObsoleteMediaData task by way of how config patching works. As discovered in your original question, this leads the evaluator to think WebDAV is enabled. Jul 28, 2017 at 14:12
0

According to the class definition from dotPeek:

Removes media folders that are no longer referenced via the File Drop Area field.

The File Drop Area field allows you to add fields to templates where you can upload multiple media files without going to the media library. A root folder is specified in config, then when a file is uploaded, a path is created based on a GUID. E.g.

/sitecore/Media Library/System/C/8/1/5/C815CC829A7979229E47E544FABDC7D6/image.jpg.

If you then delete the media item, the empty folders will stick around in Sitecore. This processor will find all those folders that no longer have media items in them and remove un-needed ones.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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