ExpandPath to a mapped drive question
We have an intranet site with a page that is controlled by an XML file. Right now the XML file is located on the web root. I wanted to see if I caould have the XML file on a mapped drive. It errors out with the path below.
<cfset CoolXmlFile = ExpandPath("Y:/COOP/Metwatch/modify/bk1.xml") />
<cffile action="read" file="#CoolXmlFile#" variable="input_xml" />
Here is the error. for some reason it puts a slash in....?
An error occurred when performing a file operation read on file C:\wwwroot\Layout\FrontPage\bk1\Y:\COOP\Metwatch\modify\bk1.xml. | |
| The cause of this exception was: java.io.FileNotFoundException: C:\wwwroot\Layout\FrontPage\bk1\Y:\COOP\Metwatch\modify\bk1.xml (The filename, directory name, or volume label syntax is incorrect). | |
