Skip to main content
Known Participant
May 5, 2009
Question

CFFILE - 1gb+ Uploads

  • May 5, 2009
  • 2 replies
  • 624 views

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

    This topic has been closed for replies.

    2 replies

    ilssac
    Inspiring
    May 5, 2009

    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.

    Inspiring
    May 5, 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.