Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Re: Format a retrieved text file

Reply
Thread Tools

Re: Format a retrieved text file

 
 
Martin Honnen
Guest
Posts: n/a
 
      06-29-2003


John wrote:
> I just learned that it is possible to grab a text file from another
> site and display the data on my own site, however when I display the
> data it does not format it correctly. Can anyone please point me in
> the direction of a tutorial or help me with the code below.
>
> John
>
> <%
> Response.Buffer = True
> Dim objXMLHTTP, xml
>
>
> Set xml = Server.CreateObject("Microsoft.XMLHTTP")
>
> xml.Open "GET",
> "http://iwin.nws.noaa.gov/pub/data/text/FZUS53/KCLE.TXT", False
>
> xml.Send


Response.ContentType = 'text/plain'

>
> Response.Write xml.responseText
>
> Set xml = Nothing
> %>


No i dea why you ask about ASP scripting of a text file in an XML group
--

Martin Honnen
http://JavaScript.FAQTs.com/

 
Reply With Quote
 
 
 
Reply

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading a properties file so that keys can be retrieved in order laredotornado@zipmail.com Java 2 05-13-2011 01:13 AM
Decompressing a file retrieved by URL seems too complex John Nagle Python 2 08-13-2010 03:24 AM
Decompressing a file retrieved by URL seems too complex John Nagle Python 0 08-12-2010 08:17 PM
DOCX FILE CORRUPTED WHEN RETRIEVED FROM SQL2005 SUNNY ASP .Net 3 08-08-2008 01:58 PM
format a retrieved text file Robb Meade ASP General 5 06-29-2003 02:32 PM



Advertisments