We developed a asp.net web application which uses an ashx handler to do partial file Uploads. A user can select files via a silverlight control and the control starts a Post HttpWebRequest to the ashx handler and transmits the file in smaller chunks (via HttpWebRequest.BeginGetRequestStream) so that the silverlight control can Display a Progress bar.
Now we want to expand on this solution to support Uploads to WebDAV Folders.
So the main question is: Can this “chunk-wise” upload be done via WebDAV at all?
WebDAV protocol is an extension of HTTP protocol, so all HTTP features will work with it. The best way is to calculate a file size before upload – this will allow to draw a progress bar easily.
Another option is to use Content-Range header that allows to send data in chunks, but this will result in one HTTP GET request per chunk.
JFYI: our WebDAVBlackbox allows to use all WebDAV features from Silverlight relatively easy.