My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<%

Dim sFichero
sFichero = "c:\temp\dir2\a.txt"

Set fso = Server.CreateObject("Scripting.FileSystemObject")

if (fso.FileExists(sFichero)) then
fso.DeleteFile sFichero,true
Response.Write "Borrado el fichero " & sFichero
else
Response.Write "No existe el fichero " & sFichero
end if

%>

Change log

r91 by vcuervo on Jan 24, 2009   Diff
Borrar fichero con ASP
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 329 bytes, 15 lines
Powered by Google Project Hosting