Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CFFILE - 1gb+ Uploads

Explorer ,
May 05, 2009 May 05, 2009

Hi,

I have been unable to upload file of up to and over 1gb, with CFMX7, due to memory issues.

I read here,

http://www.forta.com/blog/index.cfm/2007/8/15/Uploading-Large-Files-To-ColdFusion-8

that Coldfusion 8 does not have this limitation, but it does not make clear as to whether this is because it writes the file to disk instead of memory.

Could anyone shed some light on this for me?

Are there alternatives to upgrading to ColdFusion 8 that would be better? Our Techical Services have suggested finding a method which writes in chunks, I believe they are concerned allowing uploads of 1000 MB+ via the admin could create a vulnerability.

Thanks, Dan

582
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
May 05, 2009 May 05, 2009

Hi, Dan,

I'm not sure about the differences between CF7 and CF8 when it comes to the file upload sizing, limitations, etc. but you mentioned alternatives to upgrading to CF8.

You might want to try Railo 3.1 (getrailo.org) or OpenBD (openbluegragon.org). I've been using Railo 3.1 a lot since its release. It's CF8 compatible and completely open-source and free. OpenBD is also open source and free but I haven't used it.

One or both might be worth installing and playing with to see if CF8 compatible engines have better luck with what you're trying to do, etc.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
May 05, 2009 May 05, 2009
LATEST

Stormpool wrote:

Hi,

Our Techical Services have suggested finding a method which writes in chunks

It might be important to understand that ColdFusion does not actually upload anything.  The file is completely uploaded by the browser and web server before the request is handed off to ColdFusion.  All ColdFusion gets is a link to the temporary location where the web server put the file.  That can also be a point of bottle necks because different web servers and versions have different file upload limits.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources