filoesystem object call

Results 1 to 3 of 3

Thread: filoesystem object call

  1. #1
    Join Date
    Dec 1969

    Default filoesystem object call

    this code is giving me an error:<BR> sPP = Request.QueryString("PP") &#039Physical Path<BR> sUP = Request.QueryString("UP") &#039URL Path<BR><BR> Set fso = CreateObject("Scripting.FileSystemObject")<BR> Set f = fso.GetFolder(sPP) &#039**HERE<BR><BR>this is the error:<BR>Microsoft VBScript runtime error &#039 800a0005&#039 <BR><BR>Invalid procedure call or argument <BR><BR>/org/pe/classtest/dir.asp, line 14 <BR>any ideas????/I dunno

  2. #2
    Join Date
    Dec 1969

    Default RE: filoesystem object call

    probably an invalid path being passed. try hardcoding a path and see what happens<BR><BR>jason

  3. #3
    JudyG Guest

    Default RE: filoesystem object call

    Put a Response.write sPP after the request to see the string you are getting. <BR><BR>The PP value may not be sent from the previous page correctly. All other code looks fine.

Posting Permissions

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