将文件上传到Azure Web应用程序 [英] upload files to azure web app
问题描述
我有一个Web应用程序,我需要让用户将文件(PDF,Docs,Excel,Pics等)上传到我的Web应用程序中,例如,当用户单击浏览"按钮并从他的文件中选择一个文件时计算机,那些文件上传到我的Web应用程序上的特定路径,而没有使用FTP客户端
例如FileZilla或任何第三方客户
在迁移到azure应用程序服务之前,我们曾经将上传的文件保存到文件服务器,我不知道如何配置它以将文件保存在azure上?
I have a web app and i need to let users upload files (PDF,Docs,Excel,Pics, etc.. ) to my web app for example when a user click BROWSE button and select a file from his computer , those files uploaded to specific path on my web app with out using a FTP Client
like FileZilla or any third party client
before migration to azure app service we used to save the uploaded files to File Server and i don't know how to configure it to save files on azure ?
用户可以使用我的Web应用程序浏览和删除上传的文件吗?
Can user browse and delete the uploaded files using my web app ?
推荐答案
您好,我相信可以使用教程创建一个存储帐户.另外,你可以看看这个 这样的线程,因为它与您的场景类似.
Hi, I believe this is can be done with Azure blob storage. Blob storage is designed for serving images or documents directly to a browser, storing files for distributed access, streaming video and audio and much more. Users or client applications can access objects in Blob storage via HTTP/HTTPS. You can follow this tutorial to create a storage account if you don't have one already. Also, you can take a look at this SO thread since it is a similar scenario to yours.
这篇关于将文件上传到Azure Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!