url required default (empty string)The file URL to inspect, normally a field getter like _#FILE____ (a file/upload field). A leading-slash path is resolved against the current host. An empty url yields an empty result.
info optional default (empty string)Which piece of metadata to return. One of the allowed values below. If omitted the result is empty (there is no implicit default). type and name are derived from the URL string alone; the size, link, typesize, crc, time, mime and ifwebimg values need the real file to be readable on disk or over HTTP and return empty when it is not.
[{fileinfo:_#FILE____:link}]
[{fileinfo::type}]
[{fileinfo:https://example.org/files/report.pdf:type}]
[{fileinfo:https://example.org/a/b/report.final.pdf:name}]
[{fileinfo:_#FILE____:size}]
[{fileinfo:_#FILE____:mime}]
[{fileinfo:https://example.org/files/photo.JPG?v=3:name}]
[{fileinfo:https://example.org/files/report.pdf}]
[{fileinfo:_#FILE____:ifwebimg}]
[{fileinfo:_#FILE____:typesize}]
[{fileinfo:https://example.org/files/README:type}]
{filelink:_#FILE____:_#TEXT____:Download#: }