View Single Post
Old 06-05-2008, 07:02 PM   #2 (permalink)
davey
The Visitor
 
Join Date: Jun 2008
Posts: 1
Thanks: 0
davey is on a distinguished road
Default

Xenon,

Quick Introduction, I'm Davey and work @ aptana on Jaxer, and would be happy to help you get your project moving forward.

I dont quite follow your description of what you are trying to do. But at least one thing jumped out at me which was that you are trying to read binary files with Jaxer, the API for that is slightly different from the regular files, when you open the file using the open method on a file instance, you should provide the open mode parameter for binary access which is 'rb' the code would like some thing like.

Code:
var f = new Jaxer.File(myPath);
f.open('rb');
var binData = f.read(); // may need to chunk it out if very large
f.close();
hope that helps.

We have Jaxer forums you can post questions and observation to ( Aptana Forums :: Jaxer )

let me know if you need more help.

cheers
davey
davey is offline  
Reply With Quote