Saving Large Addresses & Certificates
If you want to save very large query strings, long security keys, SSL certificate chains etc, when building a web interface for your data source, you may find that there's not enough room in the database to store all of your information.
In this case, we suggest you use the media folder in your ARDI site to store additional files and information.
For data sources, if you save the value '#' to the address, this tells ARDI to look up that information from a file located in the assets matching media directory called 'driveraddress<mode number>.txt'.
For example, let's say you are connecting to a source of events on asset #42. In ARDI, Events have a mode number of '4'. You could save your file to <sitefolder>/media/assets/42/driveraddress4.txt.
If no exact match is found, ARDI will also attempt to use the file without the number (ie. driveraddress.txt), but this is generally avoided because of the chance that multiple sources on the same asset may all need to record large amounts of connection data. The number helps differentiate if the address information is for live data (0), historical data (1) or events (4).