|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Problem with FileSystemObject
Hi there
I've been using the FileSystemObject to try to save various html files as .htm files. I have been pulling down the code correctly (its our website, we are needing the database driven pages stored statically on cd, hence we are automising the process) I have the HTML in strings, replaced all the links I need to, and when I try to write to the file via the fs.write(HTMLCode) it doesn't work, I've tried many approaches, any thoughts or other approaches, and preferrably a solution would be much appreciated. Thanks Oli |
|
#2
|
|||
|
|||
|
And "doesn't work" means what?
|
|
#3
|
|||
|
|||
|
Sorry, I shouldn't have been as vague.
When I use fs.write(HTMLCode) the fie isn't actually written to... the variable does contain all of the html as I have printed it out. The file is created, just not written to Any ideas? Thanks |
|
#4
|
|||
|
|||
|
try fs.writeline(stuff) maybe....
|
|
#5
|
|||
|
|||
|
If you are running this from IIS, make sure the IIS user account has write permission to wherever you're trying to write the files.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Problem with FileSystemObject |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|