Skip to main content
Inspiring
feb 16, 2024 8:15 a. m. UTC
Pregunta

Need solution to list all objects in S3 bucket for CF2018

Hello All,

 

I am looking for simple solution to list down all objects unders S3 bucket specific folder. I can list down one object but challenge is object/keyname is dynamic. So, I cannot specify keyname while retrieving the object from s3 bucket.

 

Is there any simple way if anyone come across to pull all S3 bucket folder objects and copy them into local directory?

Then I can use <cfdirectory> to filter the files I want.
Please suggest.

Thanks in advance!

    Este tema ha sido cerrado para respuestas.

    1 respuesta

    BKBK
    Community Expert
    Community Expert
    feb 25, 2024 6:21 p. m. UTC

    Have a look at Adobe's documentation on ColdFusion and Amazon S3.  There you will find an example of code to create and dump a bucket-list

    Traducir