【发布时间】:2013-09-24 02:01:22
【问题描述】:
我正在使用 Silverlight multi file uploader 并将 Azure Blob 中的文档作为字节数组上传。
//Append the memory stream into ByteArray
using (MemoryStream ms = new MemoryStream())
{
stream.CopyTo(ms);
return ms.ToArray();
}
// Upload the file
blob.UploadByteArray(bytes);
上传文档似乎间歇性损坏。
有什么建议吗?
【问题讨论】:
-
发生网络故障。您应该在双方都运行内容哈希,如果它们不匹配,请让用户知道并提供再次下载的选项。
-
@Steve 我们如何在 Silverlight 多文件上传器的 javascripts 端实现内容哈希
标签: silverlight file-upload azure blob azure-storage