简体   繁体   English

将文件直接上传到azure?

[英]Upload file directly to azure?

I am writing a webpage that allows users to upload their files to Window Azure Storage. 我正在编写一个网页,允许用户将他们的文件上传到Window Azure存储。

First I let the user upload their files to my web-server, then I use Window Azure Storage API to upload these files to Window Azure Storage. 首先,我让用户将他们的文件上传到我的网络服务器,然后我使用Window Azure Storage API将这些文件上传到Window Azure存储。

How can I let the user upload their files directly to Window Azure Storage without using my web-server as a proxy? 如何让用户直接将文件上传到Window Azure存储而不使用我的Web服务器作为代理?

是的,您可以使用Silverlight进行此操作,如下所述: http//blog.smarx.com/posts/uploading-windows-azure-blobs-from-silverlight-part-1-shared-access-signatures

The code at Steve Marx site doesn't work for large upload. Steve Marx网站上的代码不适用于大型上传。 I have posted a modified version of the control with cancellations and retries with Silverlight and TPL, also posted at WAZ portal at: Silverlight and TPL based file upload control The project also has another version of the same control with HTML5 and AJAX. 我发布了一个修改版本的控件,取消并重试Silverlight和TPL,也发布在WAZ门户网站: 基于Silverlight和TPL的文件上传控件该项目还有另一个版本的HTML5和AJAX相同的控件。

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

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