Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Tyler Hansen / Tyler Hansen (Tyler Hansen)
Created: 05/14/2015
Components: Net Protocols, HTTP
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Normal / All users will encounter
Locale/System: ALL / Windows 8.1/64bit
Vote Count: 0
Problem Description:
When using CFHTTP to post a .docx files, when opening the file after the post Word will show a message the the file is corrupt. The file is restorable when clicking yes when prompted to fix the file. Upon comparing the file before upload, and the file after upload, there are multiple file properties missing from the uploaded file.
Steps to Reproduce:
Upload CFC:
<cfhttp url="http://127.0.0.1:8500/catch.cfm" method="post">
<cfhttpparam type="file" name="user_file" file="C:\ColdFusion9\wwwroot\test.docx" />
</cfhttp>
Handler: catch.cfm:
<cffile destination="C:\ColdFusion9\wwwroot\tempDisk\"
nameconflict="Overwrite"
filefield="Form.user_file"
action="Upload"
attributes="Normal">
Actual Result:
corrupt docx file, with missing properties
Expected Result:
same docx file with no missing properties
Any Workarounds:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3988461
External Customer Info:
External Company:
External Customer Name: Tyler
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: