Ajax -> Boundary + File Upload in Safari

Hi all, I want to use an ajax file uploader that I have implemented, it uses a boundary to separate files (because the server has a framework which doesn’t permit upload files with xmlhttprequest.send(file) way).

I want to have support for all browsers and I have a problem with old Chromium and Safari browsers, because I don’t know a method to get the content of a file in Safari and i have to implement it, because FileReader is not implemented and I want to use the Blob API to get the content.

The question is: Are there any way to use the Blob and File API to get the content of a file in Safari 5?

Thanks for all!