Author: MitchDW | Posted on: 9/6/2008 5:53:08 AM | Views : 295

Hello,

I have a form which allows a user to upload a file to a virtual drive on our server using the following code:

fileInvoice.SaveAs(ConfigurationManager.AppSettings.Get("DocumentPath") + strFileName); //Document Path is defined in the web.config file

How can I safely allow a form on a web page to delete the file if they know the exact name of the file. I don't want them to be able to do a wildcard match like test*

thanks in advance,
mitch

...

Go to the complete details ...