Upload images in a server map path and access them(save,delete etc...)

Hi everyone...

Any ideas how to upload images in a server map path and access them for write,delete etc?

For now i save images to database but also want to save them in a specific server path....

what is the best method?


Hello Elena,

As an example you can use:


It has several actions to manipulate folders and files.

Because you refer Server.MapPath I would recommend you to create a new user which can read/write from your path without touching all the other files (webServer files needed to run your app).

I hope it helps.