Trying to read text file from URL

Results 1 to 3 of 3

Thread: Trying to read text file from URL

  1. #1
    Join Date
    Dec 1969

    Default Trying to read text file from URL

    I want to read the contents of a CSV text file hosted on another server and display it on my site. What command can I use?<BR><BR>I have previously used the FileSystemObject to read a text file on the same server as my webpage, but now I want to access that text file from elsewhere. I tried referencing it using URL in the Server.MapPath but it doesn&#039;t work - says its an invalid path character. I therefore assume I shouldn&#039;t use FileSystemObject.<BR><BR>Thanks<BR>Andy

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default Nope

    Have to map a drive to access the file. since it is a URL, upload the file first and then user FSO to read it.<BR><BR>

  3. #3
    Join Date
    Dec 1969

    Default RE: Nope

    Coule XMLhttp be used in this case? I don&#039;t know much about it, but I thought I read something about that a while back.

Posting Permissions

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