This is an area we could definitely improve.
the problem is that CFHTTP wants to give back its data in a variable.
Now i would prefer to do:
1/ If the body gets over a given size, then we page it out to disk and
instead return the path to the downlaod file
or
2/ You pass in the path of the file in the first place.
It _SHOULD_ be a lot easier than the hack described in stackover
Nitai @ Razuna wrote:
What application server are you using (Tomcat, Jetty, etc.)? In short,
you need to increase the memory you assign to the J2EE server.
Kind Regards,
Nitai
On Sun, Dec 25, 2011 at 11:44 AM, Aaron J. White<[email protected]> wrote:
Is there a way to do a buffered read with cfhttp?
If not does anyone have an example with cfscript?
I am receiving an OutOfMemory error while making a get oauth call for
about 200mb worth of data.
I found this example:
http://stackoverflow.com/questions/4738610/downloading-large-file-in-coldfusion-using-cfhttp
However, it doesn't seem like it's going to work because I need to
modify the headers of the connection.
I dislike java so it would be great if there was some hidden power in
cfhttp.
--
online documentation: http://openbd.org/manual/
google+ hints/tips: https://plus.google.com/115990347459711259462
http://groups.google.com/group/openbd?hl=en
--
online documentation: http://openbd.org/manual/
google+ hints/tips: https://plus.google.com/115990347459711259462
http://groups.google.com/group/openbd?hl=en