These are chat archives for HelloZeroNet/ZeroNet

Mar 2016
Vlad Beskrovnyy
Mar 14 2016 17:16
I have a question about fileGet. What if some file is optional and currently may not exists? How can I subscribe to create/updates of this file?
"fileGet", ["name", true]; has any timeout (if file not exists) or will wait eternally?
Mar 14 2016 18:24
the updates are received via websocket setSiteInfo
the fileget has a required parameter if true (default) then try to download if not exists yet fileGet", {"inner_path": inner_path, "required": false}
timeout is around 1minute, depends on file size