House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

CFFILE upload max file size?

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Andrew Golden
05/13/2003 01:44 PM

Does anyone know if there is a maximum file size that can be transferred using CFFILE to upload? What is the largest anyone has ever had repeated success with? Any help would be appreciated....thanks! Andrew Golden

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ben Doom
05/13/2003 02:47 PM

Theoretically, you can upload until the memory maxes out.  I've done 14+ megs on a box that wasn't doing anything else.  Of course, it was around the corner over 100Mbit and still took a while, but it can be done. HTH. --  Ben Doom     Programmer & General Lackey     Moonbow Software, Inc : -----Original Message----- : : Sent: Tuesday, May 13, 2003 1:35 PM : To: CF-Talk : Subject: CFFILE upload max. file size? : : : Does anyone know if there is a maximum file size that can be transferred : using CFFILE to upload? What is the largest anyone has ever had repeated : success with? Any help would be appreciated....thanks! : : Andrew Golden : :

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Andrew Golden
05/13/2003 02:54 PM

At 02:44 PM 5/13/2003 -0400, you wrote: >Theoretically, you can upload until the memory maxes out.  I've done 14+ >megs on a box that wasn't doing anything else.  Of course, it was around the >corner over 100Mbit and still took a while, but it can be done. Ahhh.....there in lies the limitation, it doesn't write to disk at all until the file transfer is completed....grrrrrrrr. Unfortunate. For me. Thanks! Andrew Golden

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Gyrus
05/13/2003 03:09 PM

> Does anyone know if there is a maximum file size that can be transferred > using CFFILE to upload? What is the largest anyone has ever had repeated > success with? Any help would be appreciated....thanks! --------------------------- AFAIK the key limitation is server memory, as that's where the file goes before it's written to the hard drive (although I think it gets put in a temp directory before any CFFILE operations happen). Your other limitation is connection timeouts and such like. I've limited uploaded files to 32 MB before, I can't recall whether there was a technical reason behind that figure or whether it was just a good guess at what will make life less troublesome for the client. I've not really tried uploading anything more than 10 MB or so via CFFILE, though, so can't speak of limits from experience. Gyrus gyrus@norlonto.net work: http://tengai.co.uk play: http://norlonto.net PGP key available

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Trey Rouse
06/11/2003 03:46 PM

There is a bug in IIS that limits the file upload size.  Its tricky to put a number on it, but anything over 4 megs on a 100mbit line will likely send your server running never to return. It has nothing to do with memory allocation, it's a fricken bug in IIS. Microsoft acknowledges it to their ASP developers and directs them to use a com object for the transfer in lou of a form post.  This works of course for CF as well, but it means you can not use CFFILE for user uploads on top of IIS. Well, unless you like having your server crash. Trey Rouse Data Application Architect Web Services - Rice University > Does anyone know if there is a maximum file size that can be transferred > using CFFILE to upload? What is the largest anyone has ever had repeated > success with? Any help would be appreciated....thanks! > > Andrew Golden

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
paris lundis
05/13/2003 02:15 PM

On windows based CF boxes we can fit a few megabytes into an upload... thats 0-4 megabytes... after that things get furry and by the time you try to reach 10 megabytes, say goodbye to the app server... Now thats our experiences with CF through version 5.... unsure of MX, even though we have it sitting on the shelf in a box :) -paris Reply-To: cf-talk@houseoffusion.com Date:  Tue, 13 May 2003 12:34:50 -0500 >Does anyone know if there is a maximum file size that can be transferred >using CFFILE to upload? What is the largest anyone has ever had repeated >success with? Any help would be appreciated....thanks! > >Andrew Golden

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Andrew Golden
05/13/2003 02:25 PM

At 02:01 PM 5/13/2003 -0400, you wrote: >On windows based CF boxes we can fit a few megabytes into an upload... >thats 0-4 megabytes... after that things get furry and by the time you try >to reach 10 megabytes, say goodbye to the app server... Even though I am using MX on Linux, Yikes!!!! that's really small for what I need. I know I have had no problem uploading 80 MB files on my linux server but I might end up working on a job that will require quite a bit more then that to be transferred and was wondering if anyone knew the limitations. Hmmmmm....oh well, ftping to a watched directory will work, although not nearly as elegantly as I would like. Thanks! Andrew Golden

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Chris Norloff
05/15/2003 11:42 AM

The upload limitations we reached were in memory - CFFILE uploads to memory then saves the file to disk after all is in memory. (in CF 4.5 anyway!) Chris Norloff Reply-To: cf-talk@houseoffusion.com Date:  Tue, 13 May 2003 13:21:57 -0500 ----- Excess quoted text cut - see Original Post for more -----

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Stacy Young
06/11/2003 08:27 PM

That's good to know...I ran into this a while back but never knew what was causing the failure (I can only guess this was it but...)...was one of the last straws before I went Apache. -Stace There is a bug in IIS that limits the file upload size.  Its tricky to put a number on it, but anything over 4 megs on a 100mbit line will likely send your server running never to return. It has nothing to do with memory allocation, it's a fricken bug in IIS. Microsoft acknowledges it to their ASP developers and directs them to use a com object for the transfer in lou of a form post.  This works of course for CF as well, but it means you can not use CFFILE for user uploads on top of IIS. Well, unless you like having your server crash. Trey Rouse Data Application Architect Web Services - Rice University > Does anyone know if there is a maximum file size that can be transferred > using CFFILE to upload? What is the largest anyone has ever had repeated > success with? Any help would be appreciated....thanks! > > Andrew Golden > >


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

October 22, 2014

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference