Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Verity search: starts to download cf-files instead of opening them

Status
Not open for further replies.

movium

Technical User
Feb 18, 2002
14
SE
Hi,

When I`ve done a verity search on my site and click on the found links I get a dialogue window that ask if I want to "open this file from its current location" and "Save this file to disk". Why is this happening? Why doesn´t the file open in my browser? Htm and pdf-files work with no problem.

Regards,

Niclas Östlund
 
What kind of file is it linking to? What is the path to the file? - tleish
 
Hi,

The problem occurs when I want to see cfm-files
The following is the exact address to on of the files that I try to reach:


I don´t know from where all the strange signs comes from (i.e "%3A%5C") instead of slashes and dots.

I took another check in the code of the file MoviumSeekAround_VOpenFile.cfm that the CF studio 5 "verity wizard" created and found the following code:

*********************
*********************
<!--- find the proper MIME type --->
<CFIF FileExt is ''> <CFSET FileType = &quot;unknown&quot;>
<CFELSEIF FileExt is 'pdf'> <CFSET FileType = &quot;application/pdf&quot;>
<CFELSEIF FileExt is 'aif'> <CFSET FileType = &quot;audio/aiff&quot;>
<CFELSEIF FileExt is 'aiff'> <CFSET FileType = &quot;audio/aiff&quot;>
<CFELSEIF FileExt is 'art'> <CFSET FileType = &quot;image/x-jg&quot;>
<CFELSEIF FileExt is 'cil'> <CFSET FileType = &quot;application/vnd.ms-artgalry&quot;>
<CFELSEIF FileExt is 'gif'> <CFSET FileType = &quot;image/gif&quot;>
<CFELSEIF FileExt is 'htm'> <CFSET FileType = &quot;text/html&quot;>
<CFELSEIF FileExt is 'html'> <CFSET FileType = &quot;text/html&quot;>
<CFELSE> <CFSET FileType = &quot;unknown&quot;>
</CFIF>
*********************
*********************


Shouldn´t there be a row about cfm-files too.
 
I'm not sure I understand what what is trying to accomplish. What is the ultimate goal? - tleish
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top