I have used network drive mapping with no problems, going from a WINDOWS
host running CF to a LINUX cluster through a samba server. So, even this is
possible, but, I am interested the the pros and cons of a UNC path vs.
network drive mapping. Would it work in between different OS?

Here is another wrinkle. Would sure love to be able to use CFFILE from a
SHARED commercial host (i.e. CrystalTech) to my Linux cluster. Could never
figure out how to do it. 

Rick Colman 

-----Original Message-----
From: Scott Mulholland [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 11, 2006 7:39 AM
To: CF-Talk
Subject: RE: Accessing Network Drives

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:229177
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to