You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
files.get or files.cat . How do I know the progress of getting a large file(video or image). The optional parameters described in the document are offset and length.
The text was updated successfully, but these errors were encountered:
This is not currently spec'd and is not implemented in js-ipfs or go-ipfs implementations. @diasdavid do you know if this is planned/possible?
Note that if you catReadableStream or catPullStream you'll know how much you have as you get streamed chunks, but you'll not know the total file size.
You can probably use object.stat to get the total size beforehand but in the future hopefully files.stat will support both MFS as well as IPFS path and you'll be able to use that.
files.get
orfiles.cat
. How do I know the progress of getting a large file(video or image). The optional parameters described in the document are offset and length.The text was updated successfully, but these errors were encountered: