XMLHttpRequest - Byte Stream

Forums » Dev.Opera » General Web Development Discussions

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

4. April 2010, 21:55:13

Dodwin

Posts: 36

XMLHttpRequest - Byte Stream

Hi,

Is it possible to download a file "as it is" (byte for byte)?
I mean when I start a download by new XMLHttpRequest() and get the response by obj.responseText the data is only accessible regarding file encoding.

For my widget YouTube Player I wanted to download a FLV video file from YouTube and save it on the disk. But I found no way to do that.
Something like a byte stream or array would be nice.
obj.responseBody would be what I need, but it's not implemented in Opera.

Anyone has an idea?

Thanks!

// edit:
Found this: http://www.w3.org/TR/XMLHttpRequest2/#the-responsebody-attribute
Anyone knows when Opera will implement this?

Forums » Dev.Opera » General Web Development Discussions