|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
CFFILE upload max file size?
Does anyone know if there is a maximum file size that can be transferredAndrew Golden 05/13/03 01:44 P Theoretically, you can upload until the memory maxes out. I've done 14+Ben Doom 05/13/03 02:47 P At 02:44 PM 5/13/2003 -0400, you wrote:Andrew Golden 05/13/03 02:54 P > Does anyone know if there is a maximum file size that can be transferredGyrus 05/13/03 03:09 P There is a bug in IIS that limits the file upload size. Its tricky toTrey Rouse 06/11/03 03:46 P 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...paris lundis 05/13/03 02:15 P At 02:01 PM 5/13/2003 -0400, you wrote:Andrew Golden 05/13/03 02:25 P The upload limitations we reached were in memory - CFFILE uploads to memory then saves the file to disk after all is in memory.Chris Norloff 05/15/03 11:42 A That's good to know...I ran into this a while back but never knew whatStacy Young 06/11/03 08:27 P 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 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 : : 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 > 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 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 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 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 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 ----- 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 > >
|
May 19, 2013
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||