funcionaba correctamente.
He reducido al máximo el código ...
<%
imagen="mmc.gif"
Set fso = CreateObject("Scripting.FileSystemObject")
if (fso.FileExists(server.mappath("subir/" & imagen))) then
FSO.deletefile(Server.MapPath("subir/" & imagen))
end if
%>
Para probar y tampoco va. Se queda colgado el navegador sin devolver ningún error.
He estado probando temas de permisos y tampoco.
¿Qué está ocurriendo?

