august,
If you mean save a file to the client's computer, try this:
Code:
// open the file....
var file = window.open("the_file.extension","file");
file.document.execCommand("saveas","","the_path_you_want_to_save_to");
file.window.close();
Otherwise, sorry, I don't know.
Snib