upload files using httpwebrequest - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

upload files using httpwebrequest

karthiinkarthiin Posts: 12Member
Hi,

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

thanks
karthiin
Sign In or Register to comment.