Del files on server

shahab

Junior Contributor
Joined
Aug 14, 2003
Messages
206
Location
Iran(Middle East)
I have an upload center...
every thing is ok!
Suppose that they are authorized so what the code for del the pics(themselves).U know in upload procedure i up;oad the image file in a special folder on server then save it's name in DB.

Now the Supervisor or some special users want to del the images that had sent before!
 
Sorry I should've explained, if the guest account doesn't have enough pemission to delete files off the sever, you will need to grant permission to the process by impersonating an account othe than Guest. Look up "Impersonate Security ASP.NET" on google.
 
"guest account "Not nessecerry!Every Authed user must be able to del her/his image :-\

My gaol is to do deletaion programmatically!:)
ConCurrent by Del from DB(Name of the Image)
 
Back
Top