Services Plugins FAQs

AWS Fileuploader - Delete Folder Workflow

Hi all,

how can I delete a folder in AWS with a workflow? Uploading works, deleting individual files works properly.

I tried deleting the folder with the “delete file” workflow and referenced the folder, but it did not work so far. Am I using the right workflow?
How should I reference a folder? (s3://bucket-name/folder-name/ or should I use the arn?)

I’m grateful for any assistance! Many thanks in advance for your support! :slight_smile:

Cheers,
Philipp

Hello,
Thanks for your question.

Please note that there is no action for deleting the whole folder in the current plugin version.
We will discuss internally the possibility to add this feature for future plugin updates. We need to see how feasible it will be :slightly_smiling_face:

Thank you!
Best regards,

1 Like

Hi Ecaterina,

thanks for your quick response! :slight_smile:

How unfortunate that this feature is not included yet. It would have helped me sort my documents better, as I intended to store all files of a particular user in a given folder. The plan was to delete the folder when the user gets delete/deletes his or her account… In this case I’ll have to find a workaround and delete all files with a given ID as prefix.

Cheers,
Philipp

@philipp.laengle107

In case this feature will become available in the future - I will definitely let you know. Thanks for your understanding.

Best regards,

1 Like

No worries!

Do you by any chance know how I could delete several files at the same time that contain an identical ID as prefix to solve this problem of mine?

Example: 0123456789_filename → How can I delete all files with this ID in a workflow? I thought about using the delete files workflow as it’s definitely more than one file , but I can’t find a way to delete all files that contain an exact id in their name.

Sorry for my rookie questions! :slight_smile:

Hello, @philipp.laengle107
Thanks for the question.

Please note that files cannot have identical IDs, in general. However, you can delete the list of files:

Here, you need to indicate the list of the files you need to delete (comma separated).

Hope it will help you.
Best regards,

1 Like

Hi @philipp.laengle107, late but good news is here :star2:

We’ve pushed a plugin update that has added the possibility to delete a folder in an action:
image

To try out, please update your plugin to the newest version (Added “Delete Folder Backend” action).

Have a nice week! If there will be any other plugin-related questions, you know where to find us :wink:

Regards,