Don't Scope the variable.  CFFILE is assuming that it is a form variable
already.  I would think that by putting "form.image" or "attributes.image"
CF is looking for "form.form.image" or "form.attributes.image".

<cffile filefield="image" ....

BTW, form and url variables still exist after using formurl2attributes.  The
tag does not "change" form variables to attributes scope, it "copies" them
to attributes scope.

HTH,

Brad

> -----Original Message-----
> From: Daniel Schmid [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 20, 2001 6:22 AM
> To: Fusebox
> Subject: image upload with cffile
>
>
>
> I run into some problems with the fileupload and the variable scope of
> <cffile>
>
> seems that <cffile> requieres a form variable  (like form.image) and does
> not recognise attributes.image.
>
>
> I tried to change scope:
>
> <cfset form.image=attributes.image> with no succes.
>
> any help on this newbie question appreciated.
>
> Ananda
> Z�rich
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to