CIAO A TUTTI!![]()
E' possibile leggere il contenuto di una directory che si trova sul disco locale e non sul server????![]()
<%
Dim objFso, objFolder, objFiles, strFolder, strFile
strPath = "c:/files"
Set objFso = Server.createObject("Scripting.FileSystemObject")
Set objFolder = objFso.GetFolder(Server.MapPath(strPath))
Set objFiles = objFolder.Files
For Each strFile in objFiles
Response.Write(strFile.name & "
")
Next
Set objFso = Nothing
Set objFolder = Nothing
Set objFiles = Nothing
%>
mi restituisce questo erroreVVoVe:
The Path parameter for the MapPath method must be a virtual path. A physical path was used.![]()

VVoVe:
Rispondi quotando
