zer0net / ifs-master

IFS Master
http://127.0.0.1:43110/12MVkvYGcRW6u2NYbpfwVad1oQeyG4s9Er/
5 stars 1 forks source link

chunks: sometimes displayed all chunks as downloaded green, but download link and chunks are obviously missing #215

Open haschimoto opened 6 years ago

haschimoto commented 6 years ago

/12MVkvYGcRW6u2NYbpfwVad1oQeyG4s9Er/index.html?view:item+id:2_1MEqso53FzGtN3NRYPuDBBbNbP2tUFiR82_item_10+type:video

dnelband commented 6 years ago

the problem happens because at first, we send a request to ZeroNet to get the fileInfo from the API. but the first respond is always with 0 file_pieces (i have no idea why). the thing is that when we get 0 pieces its an indicator for us that this file is not BigFile, i.e doesnt have chunks. we have no way to determine, on first ZeroNet API repsonse, if its with pieces or not. how would you suggest to work around this? its problematic, i think its a design error with the zeroNet API.

haschimoto commented 6 years ago

lets leave open then.