Ave populus
ho bisogno di leggere un file .txt e scriverne le righe su una pagina asp, per cui ho scritto questo codice:
codice:
<% 
Const ForReading = 1
Set oFS = CreateObject("Scripting.FileSystemObject")
pathMateriale = "\\100.1.1.1\wwwrootbasko\backup\upload\public\"
if  oFS.FileExists(pathMateriale  + "\thread.txt") then    
   Set f = oFS.OpenTextFile(pathMateriale + "\thread.txt", ForReading)
   response.write("<font style='font-size: 10px;'>" +f.readAll() + "
</font>")
else
   response.write "Nothing in " + pathMateriale + "\thread.txt"
end if
%>
(l'IP è fittizio) però, anche se il file txt esiste ed è scritto, scrive sempre Nothing in \\100.1.1.1\wwwrootbasko\backup\upload\public\
perchè?
come risolvo???