Question:
I have to use the Scripting.FileSystemObject in a script on the client side because I have to read a file from the client disk. Because the Scripting.FileSystemObject is not an ActiveX component, I don’t know how to do this.
Answer:
The only way you can read files on a client machine is by having the user upload the file to you manually or using an ActiveX control that the user installs on the client machine that will then be able to read the file. The reason for this is that reading or writing files on the client machine can lead to security problems by malicious programs. How would you like it if I could reach out and delete the files on your hard disk?