cffile in a cfc

2003-01-17 Thread Darren Adams
Hello All, Does anyone know if you can use cffile in a cfc ? I have converted a form action page to a cfc and I get the old chestnut about "the form field does not contain a file" error. The form enc type is fine as it works if I put the old code back in. It only errors when I

Re: cffile in a cfc

2003-01-17 Thread Todd
Sounds like you're surrounding the the form field with ##'s and you shouldn't be. filefield should be the actual form field name is and not the contents of that form field. ~Todd At 05:35 PM 1/17/2003 +, you wrote: >Hello All, > >Does anyone know if you can us

RE: cffile in a cfc

2003-01-17 Thread Darren Adams
The form field attribute is set to "arguments.file" it doesn't have ##'s around it. > -Original Message- > From: Todd [mailto:[EMAIL PROTECTED]] > Sent: 17 January 2003 17:45 > To: CF-Talk > Subject: Re: cffile in a cfc > > Sounds like you'r

RE: cffile in a cfc

2003-01-17 Thread Todd
-Original Message- > > From: Todd [mailto:[EMAIL PROTECTED]] > > Sent: 17 January 2003 17:45 > > To: CF-Talk > > Subject: Re: cffile in a cfc > > > > Sounds like you're surrounding the the form field with ##'s and you > > shouldn't be.

RE: cffile in a cfc

2003-01-17 Thread Darren Adams
BINGO, I think that has cracked it !! Cheers Todd !!! > -Original Message- > From: Todd [mailto:[EMAIL PROTECTED]] > Sent: 17 January 2003 17:53 > To: CF-Talk > Subject: RE: cffile in a cfc > > It can't be arguments.file either... again, it has to be the "