Skip to main content
February 4, 2010
Question

FILE specified in CFHTTPPARAM tag not found

  • February 4, 2010
  • 2 replies
  • 951 views

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>

    This topic has been closed for replies.

    2 replies

    BKBK
    Community Expert
    February 5, 2010

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

    Inspiring
    February 4, 2010

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

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

    Is the file actually there?

    --

    Adam