Results 1 to 2 of 2

Thread: Xmlhttp

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Seattle
    Posts
    954

    Xmlhttp

    Is there anyway to use a UNC path to connect with Msxml2.ServerXMLHTTP? For example:


    Code:
    <%@ Language=VBScript %>
    <%
    Response.ContentType = "image/jpeg"
    ' Uncomment to prompt user for download or run with associated program.
    ' Response.AddHeader "content-disposition","attachment;filename=ReadMe.jpg"
    Set objHTTP = Server.CreateObject("Msxml2.ServerXMLHTTP")
    ' Point to an image file with adequate access permissions granted
    objHTTP.open "GET", "http://www.nba.com/media/nba_hpheader_plain_v01.jpg", false
    'objHTTP.open "GET", "\\server\directory\wwwroot\test\banner.jpg", false
    objHTTP.send
    Response.BinaryWrite objHTTP.ResponseBody
    Set objHTTP = Nothing
    %>
    I do not want to run IIS on the box with the images I am trying to get, is there anyway to run a UNC path?

    Thanks!

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Seattle
    Posts
    954
    Anyone?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width