How do I send and retrieve files with CloudDB/Firebase?

CloudDB

See here for examples:

You must store a file in cloudDB using a separate tag, just for one file. You must provide a full path to the file on your android device. Note that using the MIT provided redis database does not guarantee data reliability (it could be overwritten) and heavy use of the service may result in your requests being blocked.

You can setup your own redis server to use with cloudDB components:

https://ai2.metricrat.co.uk/guides/howto-setup-redis-server-with-ssl-for-use-with-ai2

or you could do this:

https://ai2.metricrat.co.uk/guides/redis-ai2

Firebase

Using the web component and the REST API is not "experimental". It is recommended to use Firebase Storage to store and retrieve files.

See here:

The Firebase Storage URL requirements

you may want to read around the other information in this guide to get a fuller understanding of how everything works

1 Like