Re: Saving an ASP form to a text file.

From: Ray at <%=sLocation%> [MVP] (%=sLocation%)
Date: 02/20/04


Date: Thu, 19 Feb 2004 20:37:47 -0500

http://www.aspfaq.com/5003

-- 
Ray at home
Microsoft ASP MVP
"Kevin Ingram" <tcr@myrealbox.com> wrote in message
news:c13hrq0qk4@enews1.newsguy.com...
> Ok, this is probably a silly question but I just keep hitting a brick wall
> here.
>
> I usually develop my sites entirely in ASP and use a database for data
> storage, works great for me. I also sometimes save information to a text
> file on my server like c:\invoices\customername.txt for batch processing
> later... I use the FSO commands and it all works slick.
>
> Now, I have a new project: A client wants us to log in to their website on
> another server, and program some pages for them. Very simple stuff, mostly
> created with FrontPage, I added a couple of ASP pages and they work
fine...
> but I have one thing I cannot get to work:
>
> They want the results of a form saved into a text file that they will FTP
> later. They created the form in FrontPage as follows:
>
> <form method="POST" action="_derived/nortbots.htm"
> onSubmit="location.href='_derived/nortbots.htm';return false;"
> webbot-action="--WEBBOT-SELF--"
> WEBBOT-onSubmit="location.href='_derived/nortbots.htm';return false;">
>   <!--webbot bot="SaveResults" S-Label-Fields="TRUE"
> U-File="_private/kform_results.txt" S-Format="TEXT/CSV"
startspan --><input
> TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults"
> endspan i-checksum="43374" --><p><input type="text" name="T1"
> size="20"><input type="submit" value="Submit" name="B1"><input
type="reset"
> value="Reset" name="B2"></p>
> </form>
>
> This saves the results of the form in a text file in their server. I want
to
> do this, but can't get the above form to work from an ASP page, it looks
> like it only accepts it from a page with an HTM extension. Normally I
would
> use the FSO command and write the data to a specific location on the
server,
> but its not my server so I have no control over where to write it.
>
> So... my simple question is: How can I get the results of a form on an ASP
> page to dump into a text file that the client can just FTP later from
their
> site? or.... even into another HTM page on the same site? They could just
> read it there....
>
> I am using Visual Studio 6, writing the pages in Visual InterDev.
>
> Thanks!
>
>
>
>


Relevant Pages

  • Problems running website
    ... I am just learning how to host A website. ... Web Application in Visual Studio 2008. ... I have now set up a Windows 2003 Web Edition Server, ... I created a sample ASP page just to verify that ASP extensions were working ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASP page will not load
    ... >>> using ASP. ... Why do I get a 500 Internal Server error for all ... >>Internet Services Manager. ... >>Properties, and on the Home Directory tab, click the ...
    (microsoft.public.inetserver.asp.general)
  • Re: Ecommerce Server Requires Daily Reboot
    ... Sounds like you need a good ASP developer to go through ... SQL data caching schemes, to IIS settings, etc, etc, etc. ... a file cache on the web server. ... In order for customer to access webpage login, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Remote data entry solution needed for Access 2007
    ... is the actual server that the software is running on. ... would install on windows 2000, but it not really a big deal. ... But I think I'll look into the sharepoint or asp.net solutions first, ... DAP and ASP are completely unrelated technologies, ...
    (microsoft.public.access.externaldata)
  • Re: What is the difference between php & asp?
    ... >ASP is a Microsoft product based on the very ackward Visual Basic syntax ... >PHP is a C-Like, ... >need to physically register on the server. ... It works fine with SQL Server and Access if you really really ...
    (alt.php)

Loading