Questions tagged [azure-files]

357 questions
5
votes
1 answer

Azure file Storage SMB slow to list files in directory

We have an app that lists files in a folder through Azure Files. When we use the C# method: Directory.GetFiles(@"\\account.file.core.windows.net\xyz") It takes around a minute when there are 2000 files. If we use CloudStorageAccount to do the…
tank104
  • 323
  • 4
  • 15
4
votes
2 answers

Is any way can download file from Azure File(not blob) share by powershell

I want download a large file from the Azure File storage by powershell, I found all the solution are use the Azure blobs, it's can not work with Azure files, Is any way to download the file from Azure files? [Note:because the file is very big(127GB)…
Alex Zhang
  • 1,070
  • 11
  • 15
4
votes
2 answers

Is it possible to create an Azure CDN with Azure Files Storage?

All the documentation talks about Azure Blob Storage to be used with CDN. Unfortunately the Azure Web Portal doesn't allow me to upload any "blobs" to the Blob storage. On the other side I can do that with a Files storage type. However I wasn't able…
lapsus
  • 2,915
  • 2
  • 32
  • 61
4
votes
1 answer

Using IIS Centralized Certificate Store with Azure File Share

I've successfully set up a file share (via a storage account) in Azure...and then on a VM in that subscription I've successfully mounted a drive to the file share (M drive in the example below). This works fine. Next I upload a certificate to the…
swannee
  • 3,346
  • 2
  • 24
  • 40
4
votes
1 answer

Access Azure Files Services from Azure WebSites

As the title says, I'm looking for a way to access an azure files share (in preview) directly from an azure website. I cannot use any REST API or anything like this and I was looking for the possibility of mounting a SMB share directly into the…
Edi
  • 660
  • 9
  • 22
3
votes
1 answer

C# Azure File Share is throwing error "Server failed to authenticate the request

I am using the below code to copy the file to Azure File share. It is throwing error and Some times its working when I do like reset the key by replacing the new key in connectionstring by changing the time from cst and est in local machine( not…
Andi
  • 41
  • 7
3
votes
1 answer

How to delete a folder from an Azure Fileshare using cli

I'm trying to delete the contents of a fileshare via script in order to clean it on schedule or on demand. az storage file delete -s $myshare -p $folderOrFileName --account-name $accountName --account-key $accountKey Allow me to delete files but I…
Demiurge
  • 35
  • 1
  • 4
3
votes
1 answer

Azure FileShare on Docker returns Unable to apply new capability set

I am using a MySQL Docker container where I want to use a Azure File Share. To create an MySQL Docker container I use the following Buildscript. FROM mysql:5.7 RUN apt-get update && apt-get upgrade && apt-get install sudo RUN sudo apt install…
Erik hoeven
  • 1,442
  • 6
  • 26
  • 41
3
votes
3 answers

Using the temp directory for Azure Functions

I have a set of Azure functions running on the same host, which scales up to many instances at times. I'd like to store a very small amount of ephemeral data (a few kb's) and opportunistically share those data between function executions. I know…
3
votes
1 answer

How to determine if a file is complete on Azure File Storage in Java?

For our project we are using Azure File Storage, in which large files (at most 500 MB) can be uploaded and must be processed by Java microservices (based on Spring Boot), by using Azure SDK for Java, that periodically polls the directory to see if…
3
votes
1 answer

Write content to a file on azure storage with using PUT request in C#

I am trying to make a put request to Azure storage file, where I want to add some simple contents. I change the URL and add ?comp=range at the end of the url but I get 403 error in response. I have created a basic console application in .net. My…
3
votes
1 answer

Accessing Azure File Share from local Kubernetes cluster

OS: Windows 10 Kubernetes version: 1.14.8 Helm version: 3 Docker Desktop version: 2.1.0.5 Trying to deploy a Kubernetes cluster using a Helm-chart that contains a pod that connects to a statically provisioned Azure File Share. Deploying to an…
3
votes
2 answers

Python PermissionError accessing Azure Datalake folder

I'm trying to upload files from a shared folder to an Azure Datalake gen 1 folder. For now, i am just testing the connection, and listing folders under the root directory: adlCreds = lib.auth(tenant_id = tenant_id, client_secret = client_secret,…
3
votes
1 answer

How do I get the size of an CloudBlockBlob I just copied to Azure storage account?

I'm copying files from Azure file shares to CloudBlockBlob in a storage container. I want to verify that the bytes (.Properties.Length) is the same in both locations before I delete the original. I thought it would be a case of getting a new…
Dave
  • 313
  • 1
  • 7
  • 18
3
votes
3 answers

Do we have list of unsupported characters for azure blob file names?

I'm uploading some files with some different special characters to the blob. It is not getting uploaded. I found that there is some restriction on naming the files of the azure. So I need the list of unsupported unicode characters for blob file…
Dinesh Kumar
  • 67
  • 1
  • 2
  • 10
1
2
3
23 24