Re: Java objects in CF question

2006-04-10 Thread jonese
DOH! i totally forgot about that and i call myself a CF developer...

jonese

On 4/10/06, Dave Watts <[EMAIL PROTECTED]> wrote:
> > I have a wierd web service that handels calls via URL's and when i do
> > a cfhttp to these URL and dump the data out the data is being returned
> > as a "java.io.ByteArrayOutputStream".
> >
> > is there anyway i can grab this data (in my case it's an image) and
> > save it so that i can referance it from the server and not from all
> > these obtuse http calls?
>
> You can save the file to disk using the FILE attribute of CFHTTP.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237395
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Java objects in CF question

2006-04-10 Thread Dave Watts
> I have a wierd web service that handels calls via URL's and when i do
> a cfhttp to these URL and dump the data out the data is being returned
> as a "java.io.ByteArrayOutputStream".
>
> is there anyway i can grab this data (in my case it's an image) and
> save it so that i can referance it from the server and not from all
> these obtuse http calls?

You can save the file to disk using the FILE attribute of CFHTTP.

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information! 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237392
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Java objects in CF question

2006-04-10 Thread jonese
I have a wierd web service that handels calls via URL's and when i do
a cfhttp to these URL and dump the data out the data is being returned
as a "java.io.ByteArrayOutputStream".

is there anyway i can grab this data (in my case it's an image) and
save it so that i can referance it from the server and not from all
these obtuse http calls?

example working url is
http://shopping.netsuite.com/core/media/media.nl?id=205&c=318786&h=40cab511f59c1ea94001

Thanks in advance.
jonese

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237390
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