Your UNC path shouldn't contain the aliased drive designation of d:\.

> 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">
 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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