George, Take a look at this technique by John Bartlett.
http://johnwbartlett.com/cf_tipsntricks/index.cfm?TopicID=96 Robert -----Original Message----- From: George Abraham [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 1:32 PM To: CF-Talk Subject: Re: cffile upload large files again! Thanks Dave, I don't see any UDFs on cflib that deal with what you talk about, though? I searched using various terms, but nothing turned up. I do understand what you say about streaming the file while uploading. Can this be done using the java.io.InputStream class? George On 12/7/05, Dave Carabetta <[EMAIL PROTECTED]> wrote: > > I would absolutely look into alternative solutions to cffile in this > case. Remember, the cffile tag reads the *entire* file into memory (if > it can) and only then does the "action" request. I'll bet money that > your "crap out" was an OutOfMemory error at the Java level -- you were > just looking at the wrong log file, which is why you didn't see it. If > you're serious about allowing uploads of the sizes you're talking > about, then streaming the file will be much more efficient. There are > some UDFs at cflib.org to help you out with this. Also, if you're > using MX 7, there is a new memory throttle on the "Settings" page > called "Maximum size of post data" to help prevent against DoS > attacks. Make sure that you up the default 10MB setting to the size of > the largest file you anticipate to accept, or you'll hit that road > block as well. > > Regards, > Dave. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226477 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54