I am trying to synchronize my most recent video content with the Silverlight Streaming Servers to give better performance for the newest content.
Using the EXIF information in the photos and the Canon .THM files I have calculated the date ranges that each of the photo/movie collections spans. Using the Silverlight Streaming Services REST API to interrogate the list of applications, remove stale entries and upload new video content.
The first issue whilst trying to upload a 140MB zip file was the following exception:
System.Net.WebException: The request was aborted: The request was canceled.
This occurred around 90 seconds into the upload (about 4.5MB had uploaded). To work around this I set the HttpWebRequest Timeout and ReadWriteTimeout properties to -1.
I am now getting the following error after about 30MB has uploaded:
Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.