I need to create a web service using the .NET platform for accepting file uploads. What are the options available for doing this in C#?
What is the best approach to use? Can please you provide me with blogs/code samples/references for further reading?
2
The simplest approach would be to use WebDav there’s even a C# library that you can embed in an application or for a server (can’t find the link right now).
If you specifically have to use a WebService, it’s as simple as creating a WCF Contract that accepts a Stream. Here’s a great example on CodeProject. Enjoy.