Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

CF11 enctype="multipart/form-data" uploadind a file

$
0
0

Hi,

 

I am using Cold Fusion 11.

When I browse to obtain the file to upload, the location and file in the text box is: S:\App\test.xml

 

<cfform action="fileaction.cfm" enctype="multipart/form-data" method="post">

  <P>Enter the complete path and filename of the file to upload:</P>

   <CFINPUT type="file" name="FileUp" size="90">

  <P><input type="Submit" value="Upload"></P>

</CFform>

 

But when the above code execute, the following location appears in the variable:

D:\ColdFusion11\cfusion\runtime\work\Catalina\localhost\tmp\neotmp803964384012527716.tmp

 

When I  remove the enctype="multipart/form-data" from the code, the file is found, but the error message in the Cold Fusion admistration is:

Invalid content type: application/x-www-form-urlencoded.The files upload action requires forms to use enctype=""multipart/form-data"".

 

Is there something in the Cold Fusion 11 administration or configuration files that needs to be changed?

This was not an issue with Cold Fusion 9.

 

 

Mike


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>