Enabling file streaming option while adding large file

Hi ,
Is it possible to allow files streaming while adding file to ipfs with go-ipfs , similar to what we have for js.ipfs [add.ALL], where it take fileStream as input parameter?
js-ipfs/FILES.md at master · ipfs/js-ipfs · GitHub

Here is my go-ipfs code that saves to IPFS from a stream:

see “writeFromStream” function

That’s Java code but it’s using the HTTP API on a GO-IPFS docker instance. Hope it helps.

Thanks a lot wclayf . It is very helpful.

1 Like