What you need is something else. It is not an ordinary client for your website, instead it is a full featured application software that manages your file system and at the same time keeps a note of your documents and files on the server.
Dropbox application creates a folder on your file system to manage. All of the files in it are watched by a watchdog. In real, (or in .NET) you can use a
FileSystemWatcher
[
^] object to determine when a change occurs in that directory.
I recommend that you read the remarks about the class.
Your application needs this object in order to keep a track of what happens to that directory or the files in it. Then you can perform different actions. For example if a new file is added to the folder, you can pass that file to your website (
or cloud?).
HttpClient
[
^] would be a very perfect candidate (IMHO).
using (var client = new HttpClient()) {
}
A sample for that can be found in this thread:
http://stackoverflow.com/questions/18059588/httpclient-multipart-form-post-in-c-sharp[
^]
Then finally, you need to handle the request and capture the content and upload it. A long one, but... I am sure if you simply put the algorithm on paper first and then write the source code step-by-step you will be able to get it done.