Re: Format a retrieved text file

Discussion in 'XML' started by Martin Honnen, Jun 29, 2003.

  1. 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/
     
    Martin Honnen, Jun 29, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. SUNNY
    Replies:
    3
    Views:
    894
    Cowboy \(Gregory A. Beamer\)
    Aug 8, 2008
  2. John Nagle
    Replies:
    0
    Views:
    227
    John Nagle
    Aug 12, 2010
  3. John Nagle
    Replies:
    2
    Views:
    323
  4. Replies:
    2
    Views:
    2,351
  5. Robb Meade

    format a retrieved text file

    Robb Meade, Jun 29, 2003, in forum: ASP General
    Replies:
    5
    Views:
    165
    Robb Meade
    Jun 29, 2003
Loading...

Share This Page