I have created a library file with CF. It works fine on my system when I test it and I am able to open the files when I click on the link. I transferred the files to the server and changed the directory information as per the hosting companies directory structure. I can see the files and the hyperlinks but when I click on the I get the 404 error.<br><br>I have included the code below for the page that is supposed to open the files - that seems to be the one that is not working any help would be appreciated. I've also included the URL and guest password at the bottom if you want to see what is happening when you try to access the files. I'd appreciate any help someone could give me - my hosting company is useless and I'm just a beginner with CF but I'm trying very hard.<br><br><!--- security check ---><br><CFIF Find( '..', URL.ServerFile )<br> or Find( '\', URL.ServerFile )<br> ><br> Error: You are not allowed to access this file<br> <CFABORT><br></CFIF><br><br><br><br><!--- parameters ---><br><CFSET LibraryDirectory = "d:\webserver\Site-Blauvelt.com\ FilePath = "#LibraryDirectory#\#URL.ServerFile#"><br><br><br><!--- extract the file extension ---><br><CFSET SeparatorPos = Find( '.', Reverse(URL.ServerFile) )><br><CFIF SeparatorPos is 0> <!--- separator not found ---><br> <CFSET FileExt = ''><br><CFELSE><br> <CFSET FileExt = Right( URL.ServerFile, SeparatorPos - 1 )><br></CFIF><br><br><br><!--- find the proper MIME type ---><br><CFIF FileExt is ''> <CFSET FileType = "unknown"><br><CFELSEIF FileExt is 'pdf'> <CFSET FileType = "application/pdf"><br><CFELSEIF FileExt is 'aif'> <CFSET FileType = "audio/aiff"><br><CFELSEIF FileExt is 'aiff'> <CFSET FileType = "audio/aiff"><br><CFELSEIF FileExt is 'art'> <CFSET FileType = "image/x-jg"><br><CFELSEIF FileExt is 'cil'> <CFSET FileType = "application/vnd.ms-artgalry"><br><CFELSEIF FileExt is 'gif'> <CFSET FileType = "image/gif"><br><CFELSEIF FileExt is 'htm'> <CFSET FileType = "text/html"><br><CFELSEIF FileExt is 'html'> <CFSET FileType = "text/html"><br><CFELSE> <CFSET FileType = "unknown"><br></CFIF><br><br><br><!--- return requested file ---><br><CFCONTENT TYPE="#FileType#" <br> FILE="#FilePath#"<br>><br><br><br>the URL is: <A HREF=" TARGET="_new"> should click on the link for PennDOT at the bottom of the left column on the Welcome page.<br><br>The guest name is PennDOT and the password is Guest001.<br><br>Any help would be appreciated.<br><br>Thanks.