Progress bar - uploading big files with IPFS JS-API
anarkrypto opened this issue · 2 comments
anarkrypto commented
So I’m working on a project with IPFS, but I’m having trouble creating a simple pregress bar.
I hardly found material teaching how to do one with the ipfs api.
I found this way:
let progress_func = function (len) {
console.log ("File progress:", len)
}
ipfs.add (file_send, {progress: progress_func}, (err, json) => {...};
but this only returns me all values after the file has been completely uploaded. So it’s no use.
daviddias commented
@anarkrypto mind writing a test that reproduces the bug? I suspect that you are sending a file that is too small to be sent in more than one chunk.
alanshaw commented
Closing due to inactivity, @anarkrypto if you're still experiencing the problem please let us know!