Delete Folder

With this node you can delete a folder and/or its content.

It has the following configuration options:

  • Folder to delete: here you can specify which folder to delete. Select the pencil to open Expression Builder.
  • Only delete folder contents: if you select this checkbox, only the folder's content is deleted and the folder itself is not deleted. If you leave this checkbox unselected, both the folder and its content will be deleted.
  • Delete Enclosing Folder: if you select this checkbox, the folder that contained the deleted file will be removed as well. This is helpful when the deleted file(s) was/were initially created in a temporary folder. The folder will only be deleted in case it is empty after deleting the file(s). If you requested to delete the folder when it is not empty, a warning pops up. The node will not fail.
  • Ignore Missing Folder: if you select this checkbox, there is no error when the folder to delete does not exist.