Copy link to clipboard
Copied
everything was working before, now i keep getting the following error:
someone please help.
my code looks like this:
<cfhttp url="http://www.xxx.com/admin/upload-size.php" method="post">
<cfhttpparam type="formfield" name="bThumb" value="2" >
<cfhttpparam type="file" name="imgfile" file="#CFFILE.ServerDirectory#/#CFFILE.ServerFile#" >
</cfhttp>
Copy link to clipboard
Copied
What's the value of #CFFILE.ServerDirectory#/#CFFILE.ServerFile#?
What does fileExists("#CFFILE.ServerDirectory#/#CFFILE.ServerFile#") return?
Is the file actually there?
--
Adam
Copy link to clipboard
Copied
Perhaps a backslash instead? That is, #CFFILE.ServerDirectory#\#CFFILE.ServerFile#