on submitting page... (make sure to include the enctype)
<FORM ACTION="action.cfm" METHOD="Post" name="product"
ENCTYPE="multipart/form-data">
<input type="file" name="image">
</form>
on the action page....
<cfset path=GetDirectoryFromPath(GetTemplatePath())>
<cfset path=path & 'pdfs\'>
<CFFILE ACTION="Upload" FILEFIELD="Form.image"
DESTINATION="#path#" NAMECONFLICT="MakeUnique">
-----Original Message-----
From: Willy Ray [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 05, 2001 11:49 AM
To: CF-Talk
Subject: Browser client for upload files?
Alright, the client needs to upload a PDF file. How do I let the user
browse their machine for the file to upload? I'd like to use CFTREE, right?
I'm fuddled.
Willy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists