Menu
Hi everyone,
I would like to know if is possible in javascript or Vbscript read (only read) a simple .txt file who is located on server.
If it’s possible how can I do?
This is my piece of code in vbscript that read a local .txt file
…
dim fso, ts, retstring, Mostra
Const forReading = 1
Set fso = CreateObject(“Scripting.FileSystemObject”)
Set ts = fso.OpenTextFile (“E:/PROGETTO/XML/storico.txt”, ForReading)
…
…
What type of modified can I do to this?
Thanks in advance.