Prev | Next | mainResponder Verbs > mainResponder.folderToHTML |
mainResponder.folderToHTML
Syntax |
mainResponder.folderToHTML (folder, adrparamtable)
|
Params |
folder is the path to a folder on disk. adrparamtable is the address of the parameter table.
|
Action |
Builds a HTML directory listing for the specified folder
|
Returns |
A string containing the generated HTML code.
|
Examples |
mainResponder.folderToHTML ("Macintosh HD:Apps:Frontier:Guest Databases:www", pta) |
Notes |
This script is called from mainResponder.respond if the requested URL points to a folder which doesn't have a default file and if the allowDirectoryListings preference is true.
|
See Also |
mainResponder.tableToHTML
|
Prev | Next | mainResponder Verbs > mainResponder.folderToHTML |