I would second this setup, we have used it in a few applications with great
success.

-----Original Message-----
From: Justin D. Scott [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 11, 2006 9:48 AM
To: CF-Talk
Subject: RE: Accessing Network Drives

> 1) Is it possible to run <CFFILE Exists> on that F:\ drive
> on Server 2? If so what would the <CFFILE Exists> code
> line look like?

Use CFFILE, but don't use a drive mapping, use the UNC path to the server
share directly.  Depending on the permissions of the share, you may need to
run the ColdFusion Application service as a user with permissions to access
the share.

This would look like...

<cfset theFile = "\\server\share\file.txt">
<cfif fileExists(theFile)>
</cfif>


-Justin




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229175
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