我试图将一个34 MB的文件上传到blob,但它提示我一些错误
原文链接:https://www.f2er.com/windows/364736.htmlXML Parsing Error: no element found Location: http://127.0.0.1:83/Default.aspx Line Number 1,Column 1:
我该怎么办……如何解决它
我能够上传大小为500KB的小文件..但是我有一个大小为34 MB的文件要上传到我的blob容器中
我试过用它
protected void ButUpload_click(object sender,EventArgs e) { // store upladed file as a blob storage if (uplFileUpload.HasFile) { name = uplFileUpload.FileName; // get refernce to the cloud blob container CloudBlobContainer blobContainer = cloudBlobClient.GetContainerReference("documents"); // set the name for the uploading files string UploadDocName = name; // get the blob reference and set the Metadata properties CloudBlob blob = blobContainer.GetBlobReference(UploadDocName); blob.Metadata["FILETYPE"] = "text"; blob.Properties.ContentType = uplFileUpload.PostedFile.ContentType; // upload the blob to the storage blob.UploadFromStream(uplFileUpload.FileContent); } }
但我无法上传..任何人都可以告诉我该怎么做….