azure-files

Storing file created date in Azure File Storage

只谈情不闲聊 提交于 2019-12-14 02:54:23
问题 I am storing a series of Excel files in an Azure File Storage container for my company. My manager wants to be able to see the file created date for these files, as we will be running monthly downloads of the same reports. Is there a way to automate a means of storing the created date as one of the properties in Azure, or adding a bit of custom metadata, perhaps? Thanks in advance. 回答1: You can certainly store the created date as part of custom metadata for the file. However, there are

Azure File Storage - File is corrupted once uploaded

瘦欲@ 提交于 2019-12-13 07:36:43
问题 I have this code which I'm using for uploading files in azure file storage container. var originalFileName = GetDeserializedFileName(result.FileData.First()); var uploadedFileInfo = new FileInfo(result.FileData.First().LocalFileName); var uploadFolder = "/AzureDocuments" + '/' + correctLoanId ; var patString = HttpContext.Current.Server.MapPath(uploadFolder) + "/" + originalFileName; if(!Directory.Exists(HttpContext.Current.Server.MapPath(uploadFolder))) { Directory.CreateDirectory

How to get a file after uploading it to Azure Storage

一笑奈何 提交于 2019-12-13 07:04:42
问题 I had uploaded files mostly media files to Azure's File Storage, which I am able to see in Azure's Explorer as well. But when I view the file as anonymous user, I am not able to view the file. Tried to check with Permissions setting as well, but to no avail. Any help would be welcomed :) 回答1: Azure files have Shared Access Signatures (SAS). This is a key that you compute with the storage account key, that gives access to a particular URL. Here is an example (storage account name is obfuscated

Can I use Shared Hosting with Azure with Amazon

杀马特。学长 韩版系。学妹 提交于 2019-12-13 04:36:32
问题 Is it possible to use shared hosting with a web hosting provider along with Images on Amazon S3 Cloud provider? Is it also possible to have a shared hosting with a web hosting provider along with Azure Blob/Azure Table storage? The benefit is the low cost that I need to pay Will Cross site origin policy be an issue? 来源: https://stackoverflow.com/questions/51462377/can-i-use-shared-hosting-with-azure-with-amazon

Getting “Resource not found error” while using Azure File Sync

五迷三道 提交于 2019-12-12 02:36:41
问题 Facing a very strange issue. Following this guide https://azure.microsoft.com/en-in/documentation/articles/app-service-mobile-xamarin-forms-blob-storage/ to implement File Sync in Xamarin Forms app. The Get method in my service (GetUser, default get method in App service controller) is being called thrice & on the 3rd iteration it gives me a 404 resource not found error. First 2 iterations work fine. This is the client call await userTable.PullAsync( null, userTable.Where(x => x.Email ==

Can an Azure WebJob or Azure Function be triggered by Azure File Storage activity?

好久不见. 提交于 2019-12-02 07:22:45
Can an Azure WebJob or Azure Function be triggered by Azure File Storage activity ? For example, when a file is created in folder "/todo/". We do not currently have any bindings for Azure Files, though we have an issue tracking that feature in our repo here: https://github.com/Azure/azure-webjobs-sdk-extensions/issues/14 . 来源: https://stackoverflow.com/questions/40266396/can-an-azure-webjob-or-azure-function-be-triggered-by-azure-file-storage-activit

How can I use “Azure File Storage” with Web App Service?

ぃ、小莉子 提交于 2019-11-30 08:21:47
I have been struggling to find some resources that help explain, how we use the File Storage with Web App Service. There are ways to use it with the old Web Roles, Check here ( Using the Azure File Service in your Cloud Services (Web and Worker Roles) ). However, there is NO OnStart() methods in "Azure Web Service". If you're looking for mapping a drive to your Azure File Service share in your Web App using SMB protocol, then I don't think you can do as of today. What you could do is make use of Azure File Service REST API and manipulate shares and files that way. You don't have to actually

How can I use “Azure File Storage” with Web App Service?

江枫思渺然 提交于 2019-11-27 15:44:17
问题 I have been struggling to find some resources that help explain, how we use the File Storage with Web App Service. There are ways to use it with the old Web Roles, Check here (Using the Azure File Service in your Cloud Services (Web and Worker Roles)). However, there is NO OnStart() methods in "Azure Web Service". 回答1: If you're looking for mapping a drive to your Azure File Service share in your Web App using SMB protocol, then I don't think you can do as of today. What you could do is make