I have a webdav server where i will be uploading files. I am given only the URL of the server. So I am uploading files on the server using httpwebrequest class in C#. The problem is when two persons in 2 different computers upload the same file on to the server at same time, then only one person should be able to upload the file. The other person should be indicated with an error telling that the upload process is going on by another person.
How do I implement this. Please help. This is very urgent. How to handle this type of scenario using httpwebrequest class in C#. Is there any way to implement locks using httpwebrequest..please help
0 · ·