How to delete FileSet defined folders?

I want to delete folders which are created before 14 days.

 

I tried to use "FileSet define" to collect those folders and "FileSet Delete Files" to delete them.

 

I received the error “Delete failed (Access is denied) ”, even the folder is empty.  But I can use “Delete Directory” to delete any folder without any problem. So I don’t think that it is a permission problem.

 

 

 

Thanks.

Hi

We do not allow deleting directories via the FileSet Delete action as a safety measure (would be quite easily to unintentionally delete data).

All you need to do to achieve this is to use the FileSet Iterator action and the Delete Directory action (you will need to enable the Delete Tree option otherwise the action will fail if any of the directories are not empty) to loop through the list of selected folders and delete each of them.

Regards,
Steve

Thanks. It works.