Uploading with Silverlight

Archived from the Transloadit support forum. Originally posted on April 11, 2012; details may be outdated, see our docs for current behavior. Original thread

Hi,

I’m having an issue when I fall back to a Silverlight client in the browser uploading to Transloadit servers. The SL error returned is “IO Error”, which Google tells me can be the result of not having the right policy files on the server.

SL can use the crossdomain.xml file, which the TL servers have and work for Flash, but I am wondering if the crossdomain.xml file has the right info for SL. Or, possibly, if TL wants to put a clientaccesspolicy.xml file on their servers.

So, question 1 is, has anyone used SL to upload files to TL from their site?

Thanks,
Glenn

Hey Glenn,

unfortunately not that we know of. I have search our support tickets and there was no ticket about this so far.

Could you point me to some article where it’s stated that a clientaccesspolicy.xml could solve this problem? Also are there potential other sources for the “IO Error”?

Do you mind sharing some code (Please make the ticket private as you see fit)?

Kind regards,
Tim

Hey Tim,

I’ll try to find some time to put together an example. Right now the fall back to Flash is doing OK, so it’s not a super-critical item.

There are definitely probably other sources for the IO Error, but the security issue came up a lot when I was googling around.

This article talks about it, as well as how to setup the crossdomain.xml file to allow SL access: http://msdn.microsoft.com/en-us/library/cc197955(v=vs.95).aspx

Thanks,
Glenn

Hey Glenn,

thanks for pointing out the article. I will read it today and then get back to you.

Hey Ruprict,

did you figure this out already or do you still need help?

No. Kinda just dumped Silverlight for now.

Okay, closing this then.