Questions tagged [azure-file-share]
67 questions
2
votes
1 answer
How to create a URL for Azure File Share with SAS
I already know how to create a download link using SAS to create a downloadable link for a Blob in Azure as per the docs. Using this code:
sas = generate_blob_sas(
account_name="account",
container_name="container",
blob_name="myblob",
…

mp252
- 453
- 1
- 6
- 18
1
vote
2 answers
git versioning file share
I am trying to have (git) versioning on a fileshare , but when running git init or git clone I get:
error: chmod on /[my folder]/.git/config.lock failed: Operation not permitted
is there a workaround ? or we have to use blobs versioning ?
thanks

jjrr
- 1,038
- 2
- 13
- 26
1
vote
0 answers
Azure Virtual Desktop Shared Folder using Azure File Share
Despite extensively reviewing various discussions, FAQs, articles, and Microsoft documentation, I remain uncertain about the feasibility of my desired setup.
I am attempting to implement a purely cloud-based solution involving an Azure Virtual…

moritzk
- 41
- 4
1
vote
1 answer
Mock Azure File Share CreateAsync method in unit test
I have the following method, that I'm trying to write some unit tests
public async Task CreateFileShare(string shareName)
{
if (!ShareNameValidator.IsValid(shareName))
{
throw new…

Pamador
- 158
- 2
- 8
1
vote
1 answer
Unable to create a new folder in Azure file share by a Windows service running in Azure VM
Have a Windows service running in a Azure Windows Server 2022 VM, also mapped the Azure file share to a Windows drive Z:\ in this VM according to this tutorial, the Windows service is trying to create a folder ABC in the Z:\test folder, but it…

J.W
- 671
- 7
- 23
1
vote
0 answers
How to connect quarkus application with azure share file
I want to connect my Quaruks application to my azure file. i found this tutorial but its for blob-storage: https://quarkiverse.github.io/quarkiverse-docs/quarkus-azure-services/dev/quarkus-azure-storage-blob.html, is there similar way to connect to…

Catalina
- 663
- 5
- 20
0
votes
0 answers
Issues about storage private link and VPN S2S connectivitity
Dears,
Can you help me out with the following situation, please?
In the company I'm working for, we connected our on-premise network to a VNET using a site-to-site (with Meraki) VPN connection. So far, looks good, and we are able to reach private…

Mateus Parente
- 1
- 1
0
votes
1 answer
az storage file upload-batch command changing the file format in Azure file share - issue
I am trying to upload the files from GitHub repo to Azure file share and created shell script to run the AZ command like AZ login, create storage directory(if it not present) and finally Upload file to file share commands.
az login -u -p…

CH BHARATH KUMAR
- 111
- 1
- 11
0
votes
1 answer
Empty File Output while reading a file from Azure File Share using Powershell in Azure Automation
I am connecting to my Azure File Share using Powershell in Azure Automation and this works fine, I can list all the files and directories. Unfortunately when I try to read the content of any of the files, the output that I get is always empty. I…

Olgaraa
- 65
- 1
- 9
0
votes
1 answer
Migrating filesystem from a VM to Azure Files
I have an Azure VM (ubuntu 16.04) which is hosting a lot of files.
I want to migrate this files to Azure Files service.
Furthermore, I have reading microsoft documentation about this:…

H.N.
- 1,207
- 2
- 12
- 28
0
votes
1 answer
How to download a file from Azure FileShare with python?
How can i download a file from Azure Fileshare using python but i can't modify metadata in new file on local machine? When i download file using FileService or ShareFileClient (azure-storage or azure-storage-file libraries) it change creation date…
0
votes
1 answer
Not able to mount Azure File Share on Linux (Ubntu 22.04 LTS) VM during image creation using packer
I running HCL Packer to create Ubuntu 22.04 LTS image. I'm using ansible-local provisioner. The ansible playbook has following tasks (besides many others):
share_path: "/var/my_nfs"
tasks:
- name: Create Share Directory
become: yes
…

TheVillageIdiot
- 40,053
- 20
- 133
- 188
0
votes
1 answer
Need to upload the file from local to Azure blob File Share folder using Java code
I am trying to upload the file from my local path to File Share folder in the Azure Storage blob by using below Java code. I am getting the below error. Kindly help me to resolve this issue or any code snippet to upload in the file share folder in…

oliver
- 75
- 6
0
votes
2 answers
How to rename a file in Azure File Share using Azure Python SDK?
I am trying to rename a file in Azure File Share using the Azure python SDK. But the problem I'm facing is, it removes the file instead of renaming it.
with directory_client.get_file_client(file_name=project_from_db.project_name) as rename_client:
…

Avj Vaibhav
- 5
- 2
0
votes
1 answer
How to connect to Azure File Share and read csv file using Python
I am trying to write Python code to connect to Azure File Share with URL with some credentials/keys:
I am running this code from an IDE (Visual Studio Code).
But, I am not sure how to put URL info.
from azure.storage.file import…

Java
- 1,208
- 3
- 15
- 29