Ciao a tutti,

ho un problema su Aruba per il File Upload, il codice (HTML.it) gira in locale mentre sul server Aruba mi da errore alla riga 50:

-------------------------------------
' Save the file to the file system
sPath = Server.MapPath(".\images") & "\"
Set oFSO = Server.CreateObject("Scripting.FileSystemObject")


Dim estensione
estensione = right(sFileName, 4)

sFileName = nFileNew & "_Data_" & Replace(Replace(Replace(Now(), ".", "-"), " ", "_"), "/", "-") & estensione


QUESTA E' LA RIGA DI ERRORE
------------------------------
oFSO.OpenTextFile(sPath & sFileName, nForWriting, True).Write sNewData


Set oFSO = Nothing
Set oFile = Nothing
Set oUpload = Nothing
-------------------------------------


Da cosa può dipendere? Grazie a tutti. Fabio.