[FileInfo FilePath]File Tags[/FileInfo]

Display information about a particular file or folder.

To display information about a file or folder (including whether it exists or not), put a [FileInfo] context into a WebCatalog template. You may specify an absolute or relative path to the file just as you would specify an absolute or relative URL, and the file name itself may be a WebCatalog [xxx] tag.

Example (normally you would put the following text into a .tpl file on your server and use a web browser to link to it):

[FileInfo ../Pictures/1234.gif]
File Name: [FileName]<br>
Modified: [ModDate]<br>
Size: [Size]<br>

Try It!

The following tags are available inside a [FileInfo] context:
Tag Description


"T" if this item is actually a folder. "F" otherwise.


"T" if this item is actually a file. "F" otherwise.


"T" if this file/folder actually exists on disk


Name of the file


Full path to the file


Last date the file was modified


Last time the file was modified


the file's size, in bytes


The folder path leading to the file