it keeps saying the directory does not exist or is not accessible by the
cold fusion service.
the directory does exist, so its something with cf and that dir.  any ideas?

----- Original Message -----
From: "Brett Frisch" <[EMAIL PROTECTED]>
To: "CF-Linux" <[EMAIL PROTECTED]>
Sent: Friday, December 29, 2000 2:59 PM
Subject: Re: CFFILE


> Try something along these lines.  mode needs to be what ever you need
>
> <cfif FileExists(image)>
>
> <cffile
> destination="/home/usr/whatever/yourdirectory/"
> action="upload"
> mode=755
> nameconflict="overwrite"
> filefield="image"
> accept="image/jpg,image/jpeg,image/pjpeg">
>
> <cfset image=#ServerFile#>
>
> <cfquery datasource="yourdatasource">
> UPDATE yourtable
> SET image='#ServerFile#'
> WHERE ID ='#ID#'
> </cfquery>
> <cfelse>
>
> </cfif>
>
>
> At 02:54 PM 12/29/00 -0500, you wrote:
> >anyone have a problem with cffile and linux.
> >it can't upload any files.
> >
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.

Reply via email to