Jashwant
Jashwant

Reputation: 29025

Upload to web on dropping file to a folder like dropbox

There are similar questions like this in stackoverflow but none of them fulfills my requirements.

I want that when user move a file to his folder in desktop, that file should be uploaded to a web server (i.e. a one way drobox feature).

Technically, I want a listener who can check when a file is dropped to a folder and trigger an uploading function.

p.s. Will prefer code or resources in .net.

Upvotes: 2

Views: 714

Answers (2)

Albin Sunnanbo
Albin Sunnanbo

Reputation: 47068

You should use a FileSystemWatcher to monitor the folder. Then you upload the changed files with one of the methods available on your web server.

Upvotes: 0

Thomas Levesque
Thomas Levesque

Reputation: 292765

You can use a FileSystemWatcher to watch the folder.

Upvotes: 4

Related Questions