๐ Feature: Allow to send raw bytes to storage
Aviortheking opened this issue ยท 3 comments
๐ Feature description
You should add the ability to send Buffer
s using the Storage.createFile
function.
๐ค Pitch
With the latest version we can't Storage.createFile
with anything other than a FS access, but depending on the context sending a raw Buffer is way better than writing to a file and then after sending the same file, also some applications contexts don't have the FS access on nodeJS.
๐ Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
๐ข Have you read the Code of Conduct?
- I have read the Code of Conduct
I totally agree!
This change is a result of the SDK being able to do chunked uploads on big files. We would need to investigate on how to solve this ๐๐ป
@Aviortheking Hey, a PR is being worked on that will allow more flexibility while uploading file. Do provide your feedback if you have any
appwrite/sdk-generator#459
@Aviortheking The latest version should support this. If you have any issues feel free to reopen the issue.