Can you type out exactly how you have the CFFILE entered?

<cffile action="write" file="#ExpandPath('./spreadsheets/myfile.csv')#" output="" addnewline="yes" nameconflict="overwrite" >

this is a working file I use. It writes a blank file to the specified location, then I append to it. But it could be used to write everything at once:

<cffile action="upload" filefield="#strField#" destination="#imageDir#" nameconflict="makeunique" nameconflict="skip" />


On 10/1/2013 10:26 PM, Craig328 wrote:
Hi all.

I've encountered an issue this evening while trying to add a simple file upload module to a project I'm working on. Simply put, I have a form that has an input type=file on it and when I try to upload a file my code is breaking on the cffile action=upload line of the ensuing form process page. No matter what I try, I get an error saying "*There was no appropriate FILE found in the upload*". My OpenBD instance is running on a Linux box against a Tomcat server.

I've written lots of file upload forms before and my code is correct. The error occurs regardless of the file I try to upload or the destination directory i try to stick it into. Google has been singularly unhelpful with this error message.

Does anyone have any idea what I'm doing wrong or what I might look at to fix this? Any help would be greatly appreciated.

Thanks in advance.

Craig
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

---
You received this message because you are subscribed to the Google Groups "Open BlueDragon" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

--- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to