I would LOVE to see this improved.

What we are currently doing is to write temp scripts and use wget
(there is a executable on Windows) for large transfers. I've found
wget to perform exceptionally good. I doubt, that even with a fix,
cfhttp would be better or faster then wget for a 2GB file.

Kind Regards,
Nitai

On Sun, Dec 25, 2011 at 2:34 PM, Alan Williamson (aw2.0 cloud experts)
<[email protected]> wrote:
> 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



-- 
See for yourself how easy it is to manage files today. Join the revolution!

Razuna - Hosted Digital Asset Management Solution
http://www.razuna.com/

Razuna - Open Source Digital Asset Management
http://www.razuna.org/

Twitter - http://twitter.com/razunahq
Facebook - http://www.facebook.com/razunahq
Support Platform - http://getsatisfaction.com/razuna

-- 
online documentation: http://openbd.org/manual/
   google+ hints/tips: https://plus.google.com/115990347459711259462
     http://groups.google.com/group/openbd?hl=en

Reply via email to