0
FILE specified in CFHTTPPARAM tag not found

/t5/coldfusion-discussions/file-specified-in-cfhttpparam-tag-not-found/td-p/2435328
Feb 04, 2010
Feb 04, 2010
Copy link to clipboard
Copied
everything was working before, now i keep getting the following error:
FILE specified in CFHTTPPARAM tag not found
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>
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/coldfusion-discussions/file-specified-in-cfhttpparam-tag-not-found/m-p/2435329#M113154
Feb 04, 2010
Feb 04, 2010
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
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
LATEST
/t5/coldfusion-discussions/file-specified-in-cfhttpparam-tag-not-found/m-p/2435330#M113155
Feb 04, 2010
Feb 04, 2010
Copy link to clipboard
Copied
Perhaps a backslash instead? That is, #CFFILE.ServerDirectory#\#CFFILE.ServerFile#
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

