How to get all objects inside an object of S3 bucket

I am trying to get name of all files inside a particular folder of S3 bucket. I don’t see any particular activity for that even though there is an activity to traverse all object inside the S3 bucket but not to traverse the files inside a particular object of S3 bucket.

@deepakbaghel32

Did you try with for eqch object

Cheers

Thanks for replying Anil.
Yes i tried that activity but i dont want all objects inside a bucket instead i want all objects inside qn object of s3 bucket something similar to getting all file’s from a subfolder instead of root folder.

@deepakbaghel32

you can use an if condition something like this

s3Object.Path.Contains("/qn/")

this get only files with path having qn in it

cheers

@Anil_G yes i tried that but in this scenario it will run for all files inside bucket and its subfolders which is not feasible as bucket is having huge number of files.

@deepakbaghel32

so you need something like directly get from only a specific folder?

if so I dont think you have any readily available component…either use filters or this if condition

also

cheers

Thanks for your time Anil i am exploring some other options. Lets hope that works out.

1 Like