I am also trying to do this and am having difficulty getting it done. How are you writing back to the file that is on the server? I am trying to open a web page, change values on it, then save it. On the web page there are "Save" buttons that appear to call a document.write function. I can get the html document, modify it but writing it back is the problem...
any suggestions?