Tod and Will,

Sorry, we're not on the same page yet, the source XML file is to be uploaded by 
a user, so, we don't have a file sitting on the server box yet.

And yes, I've also tried something like the following to no avail.

<cfset tmpFileName = "tmpFile#Right(Rand(),2)#">
<cffile action = "write" 
     file = "D:\filBufferZone\#tmpFileName#.xml" 
     output = "#FORM.FileToUpload#"> 
         
<cfform action="#CGI.script_name#" method="post">
 <cfinput type="hidden" name="sucker" value="#tmpFileName#">
 <cfinput type="submit" name="confirmUpload" value="Continue">
</cfform>

Then upon the above form submission,

-- read the file back
<cffile 
  action = "read" 
  file = "D:\filBufferZone\#FORM.sucker#.xml"
  variable = "theSucker">

debug:
  <cfoutput> 
    #IsXML(theSucker)#                  
  </cfoutput>
<cfdump var="#theSucker#">

Many thanks.

Don?  It's a file.  Stop thinking XML for a second and start thinking of a
>file.  fileCopy()?
>
>On Jan 18, 2008 10:30 AM, D
>
>
>-- 
>~Todd Rafferty
>http://www.web-rat.com/ 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296822
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to