Hello,
Currently, if a file transfer activity is set up with the "File download" action and "Delete the source files after transfer enabled", if no file is specified in the activity, it will download & then delete the entire content of the S3 bucket and all child folders.
Thanks,
Skyler
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @SkylerQu2 ,
You can not do it, even if somehow implement it, it is not best practice to change out of the box functionality.
If possible, best way first use file transfer activity only download the file, not use delete, and do your work and everything is done, then move/delete the file.
Kr,
Parvesh
Hi @SkylerQu2 ,
If you don't specify the file, the system interprets it as a wild card. You need to specify the path and a pattern for the files you'd like to process.
Thanks,
David
Hi @DavidKangni correct. We would like to add some failsafes in case of user error which would lead to mass file deletion due to this behavior.
Views
Replies
Total Likes
Hi @SkylerQu2 ,
You can not do it, even if somehow implement it, it is not best practice to change out of the box functionality.
If possible, best way first use file transfer activity only download the file, not use delete, and do your work and everything is done, then move/delete the file.
Kr,
Parvesh
Hi @SkylerQu2 ,
To avoid deleting all files when none are present, start with a file transfer activity with file listing that lists files. If a file exists at the path, proceed with the download; if not, stop the flow or wait until the file becomes available. This ensures the download runs only when a file is present.
Regards,
Vishwadeep
Views
Replies
Total Likes
Hi @SkylerQu2,
Were you able to resolve this query with the help of the provided solutions, or do you still need further assistance? Please let us know. If any of the answers were helpful in moving you closer to a resolution, even partially, we encourage you to mark the one that helped the most as the 'Correct Reply.'
Thank you!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies