-
Notifications
You must be signed in to change notification settings - Fork 300
upload-file-via-browser can only upload file size less than 165MB #788
Comments
i'll take a look at this. Thank you for reporting. |
This is my demonstration web site: http://ipshare.info:3000/ I use google chrome Version 67.0.3396.87 (Official Build) (64-bit) for the local browser to upload file into IPFS system. Webpack: node -v: Operating System (Ubuntu: Ubuntu 18.04 LTS) $ npm start
Listening at 172.16.0.254:3000 Let me know if you need more info. Thanks for your help. Kevin Liao |
Hi Hugo Dias, |
I believe the Chrome crash is is the same issue as #654 I did some investigation on this as a part of ipfs/ipfs-companion#464 and in my case it seems an upload to an external node over js-ipfs-api breaks for files bigger than 128MB in size. AFAIK switching to streaming APIs does not help, because in browser context js-ipfs-api seems to buffer the entire thing in memory anyway. Until it gets addressed, the only workaround I see is to check file size and user agent before upload and display error message informing them that uploads to an external node bigger than X are not possible with Chrome. |
#868 fixes this issue |
Hi JS-IPFS-API Development Team,
I use upload-file-via-browser to upload file into IPFS, it can only upload the file size less than 160MB. Any file size large than 160MB, the web browser just stay here, no returning file hash id link showing on the web browser. Also Does "upload-file-via-browser" support upload multiple files? The current version can only support upload one single file at a time. Any comments are highly appreciated! Thanks for your help.
Kevin
The text was updated successfully, but these errors were encountered: