FileSystemObject in VBScript

Results 1 to 2 of 2

Thread: FileSystemObject in VBScript

  1. #1
    Darren Wong Guest

    Default FileSystemObject in VBScript

    For those who are familiar with the FileSystemObject in VBScript. I am trying to use the GetFile method to get files located on a DIFFERENT server than the one where the asp page resides. At this point, I am only able to get files that are on the same server. I&#039ve already tried using the \serversharedfolder specification in the path and tried using drive letters.<BR><BR>For example:<BR><BR>Dim fso, f1<BR>Set fso = CreateObject("Scripting.FileSystemObject")<BR>Set f1 = fso.GetFile("???")<BR><BR>Please let me know if this is possible and if not, what would be a feasible solution? Thanks!<BR>

  2. #2 Guest

    Default RE: FileSystemObject in VBScript

    I&#039ve seen this before, but I don&#039t remember where I saw the fix. Basically, you need to make sure that the NT User Account used by IIS has permissions on the remote machine. If I remember correctly, you need to set up the same account on the other machine, but I&#039ve never been sure why that works :)<BR><BR>Hope this is a start for you.

Posting Permissions

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