salve,
ho un problema :
Set fsoMyFile = CreateObject("Scripting.FileSystemObject")
fsoMyFile.DeleteFile Server.MapPath("../public/"&fileimg)
questo codice mi da questo errore :
The '..' characters are not allowed in the Path parameter for the MapPath method.
se modifico così:
fsoMyFile.DeleteFile Server.MapPath("/public/"&fileimg)
mi da quest' altro errore:
An invalid '/' or '\' was found in the Path parameter for the MapPath method.
cosa sbaglio ?

Rispondi quotando