Deleting Files

liunx

Guest
My web users have the opportunity to upload files to my server. I would like them to be able to delete the files as well. I am using asp and I have a win2003 server. How can I do that?

Thanks~yeah you would have to save teh file names to a db. and display them to the user. in a link where the page would delete it one at a time.

Dim fso
set fso = Server.CreateObject("Scripting.FileSystemObject")
fso.DeleteFile strFileName

set fso = nothing
Response.write "File Deleted"Exactly what I needed!

THanks~
 
Back
Top