Web Servers General Talk - Problem with SAVE! Please help...

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers General Talk > June 2004 > Problem with SAVE! Please help...





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problem with SAVE! Please help...
Martin Mrazek

2004-06-26, 9:55 am

Hi,
I'm saving some data from HTML form on user's PC. In JS it's like

function saveToFile( filePath, content) {
var fso, ts;
var ForWrite = 2;
fso = new ActiveXObject("Scripting.FileSystemObject");
ts = fso.OpenTextFile(soubCesta, ForWrite, true);
ts.Write(obsah);
ts.close();
};
}

This works properly, when I run the html document containing this
script NOT using Apache, but directly from my disc. When I put the
document to apache2/htdocs and run it by http://localhost/ the damned
saving doesn't work. (Ofcourse I try it under IE).

Please advice!

Martin
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com