> ok, i am having a monday!
> i am trying to use cffile to write a file to a mapped drive, i have even
> tried it using the unc path and have hit the wall...is this a
> limitation of
> cffile or am i missing something?
> -----------------code - mapped drive------------------
> <cffile action="WRITE" file="f:\temp\myfile.txt" output="myfilestuff"
> addnewline="Yes">
>
> -----------------code - unc path----------------------
> <cffile action="WRITE" file="\\myserver\d:\temp\myfile.txt"
> output="myfilestuff" addnewline="Yes">

The UNC must be the share name, so if your share is "d:" then this should
work, but if the share is "d" then it should be
"\\myServer\d\temp\myfile.txt"

Check the share name and the permissions - if they're wrong, then CF won't
write it (CF must be logged in as a user with access rights, not as Local as
it normally is)

Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to