GetCachedFSSettingFileURL (open)

Get the URL to an instance data file setting download

Syntax

LOADLIB "mod::system/lib/cache.whlib";

STRING FUNCTION GetCachedFSSettingFileURL(STRING baseurl, INTEGER64 fssettingid, RECORD options)

Parameters

STRING baseurl

Base URL for the returned cache url (leave empty for a /.uc/ or https://cdn/.uc/ url)

INTEGER64 fssettingid
RECORD options

Options

allowanyextension

Do not fail if the wrong extension is used

embed

The returned URL should serve itself without a content-disposition: attachment

filename

Filename to use in the URL

Return value

STRING