Another option you have is to use a java applet, like "AppletFile".
This would be treated like the file form field, and then use the CFFILE tag
to process the uploaded file.
AppletFile gives you a few more options than the standard <input type=file>
tag. You can define the mask for allowable file types, and file sizes (I
think), set initial folder, etc. You can get more info at
(http://www.appletfile.com/) or do a search of the web for similar applets.
Shawn Grover
-----Original Message-----
From: Dunwiddie, Bruce [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 06, 2001 8:00 AM
To: CF-Talk
Subject: RE: Browser client for upload files?
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
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