File download link tag
Outputs an encrypted link to download a file.
Parameters
url
- The url of the page containing the download tag.
file
- The path to the file.
expire
- How many seconds should the link take to expire? Leave blank to never expire.
member
- The member account to associate the download to. The download will only work if you are logged in as the specified member.
Example
<a href="{{ bison:file_download_link url='/download' file='/_downloads/my-file.jpg' expire='3600' }}">
Download File
</a>
Outputs: /download?file=encryptedstring
Problem with this page? Edit it on Github.