> ....and that your clients have network logon rights to that 
> machine and read access to the share in question... it's 
> impossible!
> 
> What's UNC? How to setup?

If that's impossible, you won't be able to offer links using the "file:"
pseudo-protocol. If the service account used by the CF server has rights to
read those documents, you can use CFCONTENT to fetch those files and serve
them to the user.

<!-- example page with link to file --->
<a href="getfile.cfm?id=#fileid#">#filename#</a>

<!--- getfile.cfm --->
<cfquery name="qGetFile" ...>
SELECT Filename, MIMEType
FROM     File
WHERE    FileID = <cfqueryparam cfsqltype="cf_sql_integer"
value="#URL.fileid#">
</cfquery>

<cfheader name="Content-Disposition" value="inline;
filename=#qGetFile.FileName#">
<cfcontent file="#qGetFile.FileName#" type="#qGetFile.MIMEType#">

In the above example, the presumption is that you're storing information
about those files within your database.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207541
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to