file system object

Results 1 to 4 of 4

Thread: file system object

  1. #1
    Join Date
    Dec 1969

    Default file system object

    how to read the files that are present in the client machine using the file system object

  2. #2
    Shedao Shai Guest

    Default RE: file system object

    Here&#039s a little test I wrote to open a file:<BR><BR>&#060;%<BR>set fso = Server.CreateObject("Scripting.FileSystemObject")< BR>dim strFilePath<BR>strFilePath = Server.MapPath("/testing/filesystem")<BR><BR>response.write("strFilePath=" & _<BR>strFilePath & "&ltbr&gt")<BR><BR>strFilePath = strFilePath & "\" & "hello.txt"<BR><BR> if fso.FileExists(strFilePath) then<BR> response.write("file exists")<BR> else<BR> response.write("file doesnt&#039t exist")<BR> end if<BR><BR>Set fso = nothing<BR>%&#062;<BR><BR>*note - the strFilePath could be hard coded as "c:lahetc"

  3. #3
    Ritesh Guest

    Default RE: file system object

    Are you sure you can use FileSystemObject to read files in the client m/c?

  4. #4
    Join Date
    Dec 1969

    Default RE: file system object

    Hi,<BR>One cannot access files from the client system using File System Object. This is tested and Ok.<BR>Thanks.

Posting Permissions

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