Aron,
Why don't you try something like this:
<cffile
destination="/home/sites/pathtoiimages/modelpics/"
action="upload"
mode=757
nameconflict="overwrite"
filefield="mimage"
accept="image/gif">
<cfset mimage=#ServerFile#>
<cfquery datasource="yoursource">
UPDATE yourtable
SET image='#ServerFile#'
WHERE ID ='#ID#'
</cfquery>
At 03:14 PM 12/23/00 -0600, you wrote:
>I am in the process of migrating a site from a Win2k server to a Red Hat
>server and have run into one page that no longer works for me. It is a file
>upload page and when I submit the form it writes the temp file name into my
>database and does no upload a file. So when I try to upload a image that is
>named Mustang.jpg, I get no file and then I get /tmp/ACFclnylV in my
>database. The code that I use for the CFFILE tag is the following:
>
><cffile action="UPLOAD"
> filefield="Form.NewCarPicture"
> destination="/home/httpd/Inventory/"
> nameconflict="MAKEUNIQUE"
> mode="644">
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.