goar icon indicating copy to clipboard operation
goar copied to clipboard

Can goar support uploading file with streaming style?

Open daqiancode opened this issue 2 years ago • 2 comments

Current API only support uploading bytes([]byte). It is obviously not good for upload big files(e.g., video files) at same time. Shall we consider arweave API like S3? PutObject(reader io.Reader, objectSize int64, opt PubObjectOption) (PutObjectResult, err error)

Thanks a lot

daqiancode avatar Feb 17 '23 13:02 daqiancode

It is already in development and can be seen in Pull requests

zyjblockchain avatar Mar 06 '23 02:03 zyjblockchain

We now support streaming file uploads.

zyjblockchain avatar Feb 21 '24 08:02 zyjblockchain