I am trying to create href links to files on our LAN directory without knowing the file type. My cfelse link works fine, but I can't seem to get the directory path in the cfdirectory to produce any query results. I tried adding and http:// but still no results.
I would appreciate your input on this, as all the examples I find pull from web servers.
<cfdirectory action="list" name="Files" directory="http://file:///N:\QS\#doc_path#\#site_path#\#bu_path#\#dept_path#\" filter="#Left(link_list.code,4)##mid(link_list.code,6,2)#_#Mid(link_list.code,9,2)#_#Right(link_list .code,4)#.*">
<cfif isDefined("Files.recordcount") and Files.recordcount NEQ 0>
<a href="file///N:\QS\#doc_path#\#site_path#\#bu_path#\#dept_path#\#files.name#" target_blank>#code#</a>
Bookmarks