Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

FILE specified in CFHTTPPARAM tag not found

Guest
Feb 04, 2010 Feb 04, 2010

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>

911
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 04, 2010 Feb 04, 2010

What's the value of #CFFILE.ServerDirectory#/#CFFILE.ServerFile#?

What does fileExists("#CFFILE.ServerDirectory#/#CFFILE.ServerFile#") return?

Is the file actually there?

--

Adam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 04, 2010 Feb 04, 2010
LATEST

Perhaps a backslash instead? That is, #CFFILE.ServerDirectory#\#CFFILE.ServerFile#

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources