That gave me this error:
Error Occurred While Processing Request
Error Diagnostic Information
An error occurred while evaluating the expression:
"#REQUEST.physicalRoot#f:\main site\travel\pdf\"
Error near line 5, column 16.
----------------------------------------------------------------------------
----
Error resolving parameter REQUEST.PHYSICALROOT
The object PHYSICALROOT is not present in the scope named REQUEST. It is
likely that you have misspelled the name of the object you are trying to
access.
The error occurred while processing an element with a general identifier of
(CFFILE), occupying document position (2:1) to (7:21).
Date/Time: 11/15/01 10:24:04
Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Remote Address: *************
HTTP Referrer: http://***********
Steven Lancaster
WebMaster
Core Laboratories
6316 Windfern
Houston, TX 77040
713-328-2532 (Office)
713-328-2150 (Fax)
832-259-3010 (Cell)
mailto:[EMAIL PROTECTED]
http://www.corelab.com
-----Original Message-----
From: John McCosker [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 15, 2001 10:10 AM
To: CF-Talk
Subject: RE: CFFILE
Try this..
<CFFILE
ACTION="upload"
FILEFIELD="FIELD"
DESTINATION="#REQUEST.physicalRoot#DIR\"
NAMECONFLICT="makeunique"
ACCEPT="FILE TYPES">
-----Original Message-----
From: Steven Lancaster [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 15, 2001 4:02 PM
To: CF-Talk
Subject: CFFILE
I don't understand I have on one page this:
<input type="file" name="pdfupload">
On the action page I have this:
<cffile action="UPLOAD" filefield="pdfupload" destination="f:\main
site\travel\pdf\" nameconflict="ERROR">
shouldn't this pass the directory for the file and upload it to the server?
What am I missing?
Steven Lancaster
WebMaster
mailto:[EMAIL PROTECTED]
http://www.corelab.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists