Results 1 to 2 of 2

Thread: GetFile()

  1. #1
    Join Date
    Dec 1969

    Default GetFile()

    I&#039;m using the GetFile function with the intention of telling it to get a file in the same directory as the asp file. i put the file name into a variable called filename and im trying to call it like this<BR><BR>set f = FSO.GetFile(filename)<BR><BR>but it says it cant find the file. i output filename and its definitly the correct one. what am doing wrong?

  2. #2
    Join Date
    Dec 1969

    Default Server.MapPath

    set f = FSO.GetFile(Server.MapPath(filename))<BR><BR>

Posting Permissions

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