Donald,
I have a different issue. I am writing to the file system, but only a very small part of the file data gets written.
There is a line in the SilkJS docs that makes me think I am misunderstanding something.
On the page:
http://silkjs.net/http-server/ is says;
"For POST data that is a file upload, the value is a hash containing information about the file, and the base64 encoded file data.". I am sending the binary data using POST, but in it's own variable. The above sentence implies it should be done differently? I guess I am 'grabbing at straws' here maybe.
If I do this,
console.dir(file_data); // This dumps a lot of data.
var success = fs.writeFile64(file_spec, file_data); // This does create a file, albeit corrupt.
console.log(success);
success comes back true, and the file contains sometimes as little as 50 bytes.
Assuming you got this resolved, would you have a code snippet showing how you receive the data file on the SilkJS side? I am probably doing something 'simple' wrong. An example will help me see it.
Thanks!
Eric