You could use CFCONTENT to serve them up as .dat files.

<cfheader name="Content-Disposition" value="inline; filename=yourfile.dat">
<cfcontent file="d:\yourfile.dat" type="text/plain" deletefile="no">


Joseph DeVore
VeloxWeb Technologies



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 12, 2001 1:45 PM
To: CF-Talk
Subject: Re: Opening file


Hi,

I have a test page on the server (Intranet) with the following link. I've
configured my file associations in UltraEdit (on the client)
to open .dat files. When I click on the link the file gets opening in
Ultraedit which is what I want.

For some reason if the following tags are in the datafile <title>, <head>,
<body>...etc the file get sent to the browser. Can someone explain why?
How do I get around this problem?

The "X" is a mapped driver letter on the client PC pointing to a specific
directory on the server.

<HTML>

<HEAD>
<TITLE>Test</TITLE>
</HEAD>

<BODY>
<a href="file://z:\directory\subdirectory\testfile.dat">Test File</a>

</BODY>

</HTML>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to