c# - How to Delete from from folder in wcf -


i have web app upload files 1 folder. want delete file folder using wcf service. in asp.net use string filepath = server.mappath(fpath); not working in wcf.

any help?

i'm guessing need change to:

string filepath = httpcontext.current.server.mappath(fpath) 

Comments