Uploading large files to the Silverlight Streaming Servers

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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s