File upload to S3 bucket

Hello,

I never tried to do something with an S3 bucket with Lucee, and the search function does not accept the search term “S3” since it is too short ^^

How can I create directories and upload files on an S3 bucket with Lucee? The S3 extension is installed.

Thank you for any help!

Regards,
Rüdiger Graf

OS: Ubuntu 24.04.1 LTS
Java Version: OpenJDK 11.0.24+8
Tomcat Version: 9.0.96
Lucee Version: 6.2.1.122

Did you check out our documentation?

Hi,

thank you for pointing me to the documentation!

I use the “S3 Resource Extension” version 2.0.2.21. When I try to call any of the S3 functions (e.g. s3listBucket()), I get this error:

Unable to resolve org.lucee.s3.extension [94](R 94.0): missing requirement [org.lucee.s3.extension [94](R 94.0)] osgi.wiring.bundle; (&(osgi.wiring.bundle=org.lucee.aws-java-sdk-s3-all)(bundle-version>=1.12.758)) [caused by: Unable to resolve org.lucee.aws-java-sdk-s3-all [95](R 95.0): missing requirement [org.lucee.aws-java-sdk-s3-all [95](R 95.0)] osgi.wiring.package; (osgi.wiring.package=org.joda.time)] Unresolved requirements: [[org.lucee.s3.extension [94](R 94.0)] osgi.wiring.bundle; (&(osgi.wiring.bundle=org.lucee.aws-java-sdk-s3-all)(bundle-version>=1.12.758))]

What am I missing? Sorry for possibly stupid questions, I’m completely new to this topic…

Regards,
Rüdiger

Try the latest snapshot, it will be published as stable in the next days

Rüdiger, you could also use this library:

@Zackster / @Harry_Klein: Thank you, with the now released 2.0.3.0 everything works perfectly!

1 Like