Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 07:30 AM
Fox
Guest
 
Posts: n/a
Default Saving an HTML file using ASP

Hi,

I am dynamically generating an HTML coded
file. Sometimes I need to save the file, but cannot
do it manually. I am hoping someone can
help me get started on how to code the file
with ASP in order to have it save itself ?
Of course I will generate it as an ASP file
first.

Regards,
Fox


  #2  
Old July 19th, 2005, 07:30 AM
Curt_C [MVP]
Guest
 
Posts: n/a
Default Re: Saving an HTML file using ASP

huh?
Look at FSO to create/save files


--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Fox" <fox @ connexions .net> wrote in message
news:OTxj3#iXDHA.1900@TK2MSFTNGP10.phx.gbl...[color=blue]
> Hi,
>
> I am dynamically generating an HTML coded
> file. Sometimes I need to save the file, but cannot
> do it manually. I am hoping someone can
> help me get started on how to code the file
> with ASP in order to have it save itself ?
> Of course I will generate it as an ASP file
> first.
>
> Regards,
> Fox
>
>[/color]


  #3  
Old July 19th, 2005, 07:31 AM
Fox
Guest
 
Posts: n/a
Default Re: Saving an HTML file using ASP


"Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
news:e#yjhKjXDHA.1620@TK2MSFTNGP12.phx.gbl...[color=blue]
> huh?
> Look at FSO to create/save files
>
>
> --
> ----------------------------------------------------------
> Curt Christianson (Software_AT_Darkfalz.Com)
> Owner/Lead Designer, DF-Software
> http://www.Darkfalz.com
> ---------------------------------------------------------
> ..Offering free scripts & code snippits for everyone...
> ---------------------------------------------------------
>
> "Fox" <fox @ connexions .net> wrote in message
> news:OTxj3#iXDHA.1900@TK2MSFTNGP10.phx.gbl...[color=green]
> > Hi,
> >
> > I am dynamically generating an HTML coded
> > file. Sometimes I need to save the file, but cannot
> > do it manually. I am hoping someone can
> > help me get started on how to code the file
> > with ASP in order to have it save itself ?
> > Of course I will generate it as an ASP file
> > first.
> >
> > Regards,
> > Fox
> >
> >[/color][/color]

I've been trying FSO but I keep getting error 500.
All permissions are in place. I'm stumped.
Also, how do you save a complete file, do you
have to read through it and save it line by line ?
Or is there a way to save the complete page that
was generated, all at once ?

Thanks,
Fox


  #4  
Old July 19th, 2005, 07:31 AM
Curt_C [MVP]
Guest
 
Posts: n/a
Default Re: Saving an HTML file using ASP

Save it all into a string and use the CreateTextFile() I think...or
something like that....show the code you are using....
P.S... are you 100% sure the permissions are right in IIS AND for the
Folder?


--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Fox" <fox @ connexions .net> wrote in message
news:OgG2r1vXDHA.1896@TK2MSFTNGP12.phx.gbl...[color=blue]
>
> "Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
> news:e#yjhKjXDHA.1620@TK2MSFTNGP12.phx.gbl...[color=green]
> > huh?
> > Look at FSO to create/save files
> >
> >
> > --
> > ----------------------------------------------------------
> > Curt Christianson (Software_AT_Darkfalz.Com)
> > Owner/Lead Designer, DF-Software
> > http://www.Darkfalz.com
> > ---------------------------------------------------------
> > ..Offering free scripts & code snippits for everyone...
> > ---------------------------------------------------------
> >
> > "Fox" <fox @ connexions .net> wrote in message
> > news:OTxj3#iXDHA.1900@TK2MSFTNGP10.phx.gbl...[color=darkred]
> > > Hi,
> > >
> > > I am dynamically generating an HTML coded
> > > file. Sometimes I need to save the file, but cannot
> > > do it manually. I am hoping someone can
> > > help me get started on how to code the file
> > > with ASP in order to have it save itself ?
> > > Of course I will generate it as an ASP file
> > > first.
> > >
> > > Regards,
> > > Fox
> > >
> > >[/color][/color]
>
> I've been trying FSO but I keep getting error 500.
> All permissions are in place. I'm stumped.
> Also, how do you save a complete file, do you
> have to read through it and save it line by line ?
> Or is there a way to save the complete page that
> was generated, all at once ?
>
> Thanks,
> Fox
>
>[/color]


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles