problems opening file

Results 1 to 2 of 2

Thread: problems opening file

  1. #1
    Join Date
    Dec 1969

    Default problems opening file

    I am trying to open a file through asp. The code below looks oke to me, but I get an internal server error when I run the script! What am I doing wrong????<BR><BR>&#060;%<BR>Dim fso, f1<BR>Set fso = CreateObject("Scripting.FileSystemObject")<BR>Set f1 = fso.GetFile("http://localhost/report.txt")

  2. #2
    Join Date
    Dec 1969

    Default RE: problems opening file

    u cannot fetch a http request in a filesystem object.<BR><BR>try the virtual mappath or the physical path...

Posting Permissions

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