Home » Development » FileDownload » Examples » Example 1

Site Menu

Search

Related Links:



FileDownload

Directory Browsing Example

The following snippet call uses the &browseDirectories parameter to allow the viewing of sub-folders. With this setting users can enter sub-folders and download the files inside. I also have used some of the available classes to style the output. This call uses the default template but could easily be customized to remove the table layout.

Snippet Call

[!FileDownload? &imgLocat=`assets/images/filetype` &imgTypes=`fileImages` &includeFileSize=`0` &skipTableCheck=`1` &browseDirectories=`1`!]

Snippet Output

Path: /
FilenameFilesizeDate
ajaxSearch
dittocal
filedownload
wayfinder
FileDownload2.5.zip (143 downloads) 17.57 kB 2007-01-29
index.html (303 downloads) 71 B 2007-01-29
Next Example ⇒