
Hey guys, I've been using Appwrite quite a bit for the database and realtime features but not much in storage.
However, I'm currently working on a project where I would only like to use Appwrite for the Storage bucket similar to S3.
Would need to know if this is possible. Would need two things.
- Upload image from the Web SDK without any user from Appwrite
- Retrieve image URL from Server using nodeJS SDK and pass a valid link to the frontend
Any help is welcome. Thanks in advance!

Sure thing!
You can use Appwrite for the storage bucket and achieve the following:
- To upload an image from the Web SDK, create a new instance of Appwrite, set up a file object and use the Storage API to upload the file.
- To retrieve an image URL from the server using the nodeJS SDK, create a new instance of Appwrite, use the Storage API to get the file download URL and pass it to the frontend.

Hey thanks for the reply.
So it's fine if I don't have users on Appwrite but use the Web SDK to upload the image and the Server NodeJS SDK to access the image?

Just to add on. If I try to use the Web SDK to upload files, I get the following error
AppwriteException: The current user is not authorized to perform the requested action.

Probably you should set permission for your bucket for any role

@Omnificent Yeah @AndrewIAm Cleared that You may need To update permission for your bucket To (Any) So any One can Upload in it
Recommended threads
- Invalid credentials after migration
Hi everyone! After migrating our self-hosted Appwrite 1.3.1 to another server (staging, so a different domain), we are now getting 'Invalid credentials' when ...
- implement caching
It it possible to cache response for few minutes? I dont want to create function or implement a whole reverse server just to cache it in somewhere ?
- Invalid redirect url
I keep getting invalid redirect url in Nextjs when i try to use google or github authentication
