简体   繁体   English

使用WCF进行强大的大文件传输

[英]Robust Large File Transfer with WCF

I want to transfer big files (1GB) over unreliable transport channels. 我想通过不可靠的传输通道传输大文件(1GB)。 When connection is interrupted, I don't want start file transfering from the begining. 连接中断时,我不想从头开始传输文件。 I can partially store it in a temp table and store last readed position, so when connection is reestablished I can request continue uploading of file from this position. 我可以将其部分存储在临时表中,并存储上次读取的位置,因此在重新建立连接时,我可以请求从该位置继续上载文件。 Is there any best-practice for such kind of things. 对于此类事情是否有最佳实践。 I'm currently use chunking channel . 我目前正在使用分块通道

Can you tell us a bit more about your scenario...What matters more...CPU or bandwidth? 您能告诉我们更多有关您的情况的信息吗?更重要的是CPU或带宽? How does transfer time fit in? 转移时间如何适应? What is the nature of the links over which this data is transmitted (latency & bandwidth)? 传输数据的链接的性质是什么(延迟和带宽)? I ask because another option on the table is RDC. 我问,因为桌上的另一个选择是RDC。 http://msdn.microsoft.com/en-us/library/aa372948%28VS.85%29.aspx http://msdn.microsoft.com/zh-CN/library/aa372948%28VS.85%29.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM