You need to make your own class that inherits HttpPostedFileBase
and implements its methods using the Dropbox API.
You can then pass that class for files from Dropbox, and HttpPostFileWrapper
for regular uploads.
If you're using ASP.Net MVC, you will get HttpPostedFileBase
directly for regular uploads, and you can create a custom model binder to automatically handle Dropbox too.