You have to set up two things. First you need a form page that has two
things:
1. The <form> tag needs to have method="post" and
enctype="multipart/form-data". This tells the browser to send the file back
to the server correctly.
2. In your form you need an <input type="file"... > tag. This tag will put
in a text box and a "browse" button that will let your visitor select the
file.
On your action page you'll need to make use of the <cffile> tag to copy the
uploaded file into a destination directory. If you've never done this
before, there are some good examples in the various Forta books. I have the
CF Web App Construction Kit 4.0 and it's chapter 28 (Working with Files and
Directories) for me.
Good luck!
Hatton Humphrey
> -----Original Message-----
> From: Willy Ray [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 05, 2001 12:49 PM
> 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
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
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