upload files in linode bucket using node
can you please let me know how can I upload files from node express server to linode bucket using aws-sdk or something else? Please provide an example of it. Thankyou!
If you are referring to Express JS, this is a framework built on NodeJS.
The only difference is you will need to pass an “endpoint” into the client constructor specifying “https://[location].linodeobjects.com”, where [location] is one of the object storage cluster names:
- us-east-1 (Newark)
- eu-central-1 (Frankfurt)
- ap-south-1 (Singapore)
- us-southeast-1 (Atlanta)
I’m not a NodeJS developer, so YMMV.