Hello,

Using CFFILE to upload images and it keeps wanting to upload TEMP files.

I'm using it as part of a form, with other parts being submitted to a SQL 
Server
database, but the only thing I'm doing with the image is uploading it to the
proper directory.  The image is NOT stored in the database.


Here's the form tag and the form field for the image:

<form action="add_product.cfm"
ENCTYPE="multipart/form-data"
method="post"
name=form
onSubmit="return checkFields();">

<td bgcolor=cccccc><font face="verdana, sans" size=-1>
        Product Image Filename:<BR>
        If you don't have an image yet, leave this blank.</td>
<td><input name="prod_image" type="file" size="30"></td>


And here's the code for the upload:

<cffile action="UPLOAD"
filefield="prod_image"
destination="yada\yada\assets\images\"
nameconflict="OVERWRITE">

Any idea why is it doing this and what can I do to fix it?

Thanks,

Bob Wilson 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to