tracker issue : CF-3041713

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 83447:CFFILEUPLOAD will not accept files of 2 GB or greater, regardless of the values in the maxUploadSize attribute, "Maximum size of post data" setting in the administrator, or MaxAllowedContentLength set

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Thomas Harper / Thomas Harper (Haikiba)

Created: 06/24/2010

Components: AJAX, UI Components

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 9,0,0,251028 / 275424

Priority/Frequency: Normal / Most users will encounter

Locale/System: English / Win All

Vote Count: 1

Problem:

CFFILEUPLOAD will not accept files of 2 GB or greater, regardless of the values in the maxUploadSize attribute, "Maximum size of post data" setting in the administrator, or MaxAllowedContentLength setting in IIS.
Method:

Ensure the above attributes and settings are greater than 2 GB, then try to upload a file larger than 2 GB. 

1st File named: uploadDemo.cfm
<h3>Instructions</h3> 
<p>Create a folder Upload in your C: drive 
<br>Try uploading files using the file upload component and check if the files have been appropriately saved in the Upload folder.</p> 
 
<cffileupload  
    url="uploadFiles2.cfm" 
    progressbar="true" 
    name="myupload" 
    addButtonLabel = "Add File" 
    clearButtonlabel = "Clear it" 
    hideUploadButton = "false" 
    width=600 
    height=400 
    title = "File Upload" 
    maxuploadsize="2049" 
    extensionfilter="*.jpg, *.png, *.flv, *.txt, *.docx" 
    BGCOLOR="##FFFFFF" 
    UPLOADBUTTONLABEL="Upload now"/>


2nd file named: uploadFiles2.cfm

<cffile  
    action = "uploadAll" 
    destination = "c:/upload" 
    attributes = "normal" 
    mode = "777" 
    nameConflict = "Error" 
    >
	
In the CF ADMIN, set the:
Request Throttle Threshold 	4000 MB  
Request Throttle Memory 	4000 MB  that is 4GB

But when we run the page and try to upload a file of 1.37 GB, it gives an error message stating:

 "Size of upload data cannot exceed -2047 MB"  

Result:

File size cannot exceed -2048 MB

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3041713

Deployment Phase:	Release Candidate

External Customer Info:
External Company:  
External Customer Name: Thomas Harper
External Customer Email: 119A6A8F448577D6992016B6
External Test Config: 06/24/2010

Attachments:

Comments:

This should be documented or elevated for resolution because the error generated does not reveal the root cause (maxuploadsize attribute).
Vote by External U.
21909 | November 11, 2011 12:55:09 AM GMT