WriteAllBytes Web Player alternative

Hello!

I have an app that uses a sync function where all the content is saved locally from a server (cms).
On the server I have text, images and videos. The script is downloading all that info and then is saving the text in text files and images and videos as bytes. In the editor and on android is working well and my question is how I can use an alternative to File.writeAllBytes for the web player. I searched a lot for solutions but I didn’t find any. How I can access the file system on local storage from the web player or how can I use the cache system for this?

Thank you very much.

The only way would be the cache system since the access to the harddrive of the user is not permitted.
Keep in mind you can only cache 50mb of data on the user’s machine without a extra license.
Looks like the cache systhem is only for asset bundles that get loaded via this function

Serialise to a string and use player prefs?

You are size limited, but it works well enough for small files.

Thank you! I will try your suggestions and let you know.