If I need to cfschedule a 10-40 mb download, is cfhttp going to buffer the 
entire input to memory if I specify a file to write it to? Also concerned about 
losing an available thread. I'm trying to basically do a "wget" in coldfusion 
and don't want to lose an available thread while I do it.

Here's my planned.  Is something like this available somewhere?  What do you 
think?

Cfx_wget url=xxxx destinationFile=yyyy. Callbackurl=localhost/callback.cfm

Calling this gets a uuid 


Then I write a java class to kick off a thread (thread name is the uuid the cfx 
returned) to write a url input stream to the specified file and then hit the 
"callback" url when done, with all the params of the tag call and the http 
status code of the get operation.  

I can also ask this thread what its status is and/or cancel it by looking for 
the thread by its uuid name. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272921
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to