How to upload a file to a specific subfolder in AWS S3 bucket

Searching online has not given me any help so far so I’ve turned to the community for help. I have an AWS S3 bucket created that contains a subfolder named “rpa”. Using the “Amazon Web Services” scope I’m able to get the bucket and verify the subfolder is present. When it comes to uploading a file to the subfolder in the bucket I’m not sure how to go about that. The “Upload Object from File” activity doesn’t have a clear way to specify where in the bucket the file should be uploaded.

I am using version 2.4.0 of the “Amazon Web Services” package. This is also for testing/learning how to use S3 activities, so please excuse anything in the screenshot that is not “best practices”. Below is a screenshot of what I have so far. Any help or tips is/are greatly appreciated.

I’ve figured it out. If you specify the subfolder name in the “Object Key Name” then the file will be uploaded to there instead of “root”. I’ve highlighted the change I made in the screenshot below.

I’m sure it’s specified somewhere in some documentation, but if you specify a subfolder that does not exist already and you have folder creation rights for the S3 bucket, the folder will be created and the file will be uploaded within. Hopefully this will help someone in the future. Thanks for taking a look.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.