Never mind, it seems to be happy with just having CFFORM but all the fields 
being standard form fields.

And it's working! Woohoo! Thanks for the suggestion.

Cheers,

Seona.

Quoting Peter Tilbrook <[EMAIL PROTECTED]>:

> Now I think you MUST use CFFORM and not the standard FORM tag to allow file
> upload. I think... 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Peter
> Tilbrook
> Sent: Saturday, 10 July 2004 1:02 PM
> To: CFAussie Mailing List
> Subject: [cfaussie] RE: <cffile> doesn't seem to work for me
> 
> Your CFFORM tag must include this attribute:
> 
> enctype="multipart/form-data"
> 
> That should do the trick. 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Seona
> Bellamy
> Sent: Saturday, 10 July 2004 11:05 AM
> To: CFAussie Mailing List
> Subject: [cfaussie] <cffile> doesn't seem to work for me
> 
> Hi guys,
> 
> I'm having a bit of a problem with <cffile>. I've checked that my webhost
> allows its use (I actually checked that before I signed up with them) and
> the problem I have seems to be one of technicality rather than possibility.
> 
> I have a form which contains, amongst other things, the following field:
> 
> <label for="PhotoThumb">Thumbnail Photo</label> <input name="PhotoThumb"
> type="file">
> 
> 
> When the form is submitted, it calls this code:
> <cfif #FORM.PhotoThumb# NEQ "">
>    <cffile action="upload" filefield="PhotoThumb" 
> destination="C:\inetpub\swanstreet\Thumbs\" nameconflict="overwrite" 
> accept="image/gif, image/jpg">
> </cfif>
> 
> 
> When it tries to run that code, I get the following error:
> ----------------------------------------------------------------------------
> ----
> 
> Error Occurred While Processing Request
> Error Diagnostic Information
> Error in CFFILE tag
> 
> The form field specified in the CFFILE tag (PHOTOTHUMB) does not contain an
> uploaded file. Please be sure that you have specified the correct form
> field
> name.
> 
> The error occurred while processing an element with a general identifier of
> (CFFILE), occupying document position (2:2) to (2:147).
> 
> The error occurred while processing an element with a general identifier of
> (CFRETHROW), occupying document position (246:11) to (246:21).
>  
> Date/Time: 07/09/04 17:56:38
> Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Remote Address:
> 203.217.38.43 HTTP Referrer:
> http://216.119.123.23/index.cfm?fuseaction=admin.manageProducts
> Query String: fuseaction=admin.addProduct
> 
> ----------------------------------------------------------------------------
> ----
> 
> 
> Can anyone tell me why? More importantly, can anyone tell me how to fix it?
> 
> I've gone searching via Google and found a bunch of handy hints, all of
> which I've tried and none of which seem to be making a blin dbit of
> difference.
> 
> Hopefully some of you are still around over the weekend. I'd really like to
> crack this one, since the deadline is looming for this part of the project
> and I'm at my wit's end (not that it's far to go...).
> 
> Cheers,
> 
> Seona.
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To
> unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
> 
> 
> 
> 
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To
> unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
> 
> 
> 
> 
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
> [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
> 
> 




---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to