开发者

File upload too large

开发者 https://www.devze.com 2023-01-09 10:42 出处:网络
I use cffile action=\"Upload\", and it works just fine for smaller files. But yesterday, I tried uploading a 42Meg pdf and it just sat there all night long.

I use cffile action="Upload", and it works just fine for smaller files. But yesterday, I tried uploading a 42Meg pdf and it just sat there all night long.

Q: Is there something I should know regarding uploading larger files? I define larger as: the one t开发者_JAVA百科hat sat there all night long and never timed out and never uploaded. For instance, is there a cflib or Riaforge routine that was written to handle larger files?

Right now I'm at version 8 at hosting.com.


In addition to the file upload limits in CF, most web servers (Apache, IIS, etc) have an upload limit. Check that as well.


You can change setting in CFadministrator > settings > Request Size Limits


Check the maximum post size set in ColdFusion Administrator. If it is set lower than 48 MB then you would have issues. I have uploaded much larger (200+ MB) with standard cffile with no issues.

0

精彩评论

暂无评论...
验证码 换一张
取 消