|
-
Jun 7th, 2001, 05:49 AM
#1
Thread Starter
Hyperactive Member
General....
Hello,
I dynamically create a html file through my asp webpage. I then want to save this page in a directory called "temp". Now, locally it works fine, I just use
Code:
set fso = createobject("scripting.FileSystemObject")
set tf = fso.CreateTextFile("c:\temp\TestQuote.html",true)
How will I do this on my hosts server. They said I cannot use the string above, but must save it in my webspace.
All my files lie in "\myweb" on my hosts server.
Will I then do it like this....
Code:
set fso = createobject("scripting.FileSystemObject")
set tf = fso.CreateTextFile("\myweb\temp\testquote.htmll",true)
Are all the "\" and " etc etc there??
Any help please.
Thanks,
T
-
Jun 7th, 2001, 06:01 AM
#2
Black Cat
Just use the path that would be relative to where the ASP file is stored.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Jun 7th, 2001, 01:20 PM
#3
Lively Member
hi turfbult,
CODE
__________________________________________
set fso = createobject("scripting.FileSystemObject")
set tf = fso.CreateTextFile("\myweb\temp\testquote.htmll",true)
__________________________________________________
seems to me it works fine...try it out
Sonia
-
Jun 7th, 2001, 01:23 PM
#4
-
Jun 8th, 2001, 12:46 AM
#5
PowerPoster
As, JoshT said, it would be easier to just use a relative path...
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|