开发者

How to send and receive file on Silverlight application?

开发者 https://www.devze.com 2022-12-27 22:55 出处:网络
I am writting Silverlight client-server application. Server开发者_JAVA技巧 part is WinForm application an client part is Silverlight.

I am writting Silverlight client-server application.

Server开发者_JAVA技巧 part is WinForm application an client part is Silverlight.

I use TCP connction. I use sockets for sending and receiving information. But now I need to send a file, size of which may be greater then 1 Mb, so I can't use socets to send that file as bite stream. I wont to send that file form server and receive it on client Silverlight application.

How can I do that?

Thanks.


The current silverlight file download/upload limit (using sockets) is 30 mb (I've been told), so I think something more than 1 mb shouldn't necessarily by a problem.

don't forget to modify your config files!

for more information on changing your config files and large file uploads see: Official Silverlight Forum

As for uploading files: you can always consider ftp file upload...

0

精彩评论

暂无评论...
验证码 换一张
取 消