Questions tagged [fileshare]
252 questions
0
votes
0 answers
Excel Workflow transfer from networkdrives to Sharepoint / OneDrive / Cloud solution
We have the following scenario:
Multiple people work on the same excel files via mapped network drives on different locations (branches) of the company all over the country.
Some of the excel files have a huge size, in fact so huge that it can take…

GeeDeeONE
- 1
- 1
0
votes
1 answer
How do I use the secrets in a secretproviderclass in my mounted azure fileshare?
Currently, I'm mounting a fileshare in my deployments through:
volumeMounts:
- mountPath: /new-folder
name: new-mount
readOnly: true
and
- azureFile:
secretName: secret_name123
…

dexter27
- 55
- 1
- 5
0
votes
1 answer
Databricks: No module named azure.storage
I was following the answer in this question Load file from Azure Files to Azure Databricks to create the SAS token with the following code
# Create a client of Azure File Service as same as yours
from azure.storage.file import…

mxmlnlrcn
- 51
- 2
- 9
0
votes
1 answer
SharefileClient's UploadRangeAsync overrides with blank spaces previous content when adding more text to a file (C#)
I'm creating a method to append new text to an existing file in an Azure File Share. This is the code:
public async Task AppendAllTextAsync(string path, string text)
{
var fileClient =…

jlalamo
- 11
- 3
0
votes
1 answer
How can I set lease duration on azure fileshare leased file?
I am trying to set expiry for acquired leased as 1 min. This is my code
var shareClient = new ShareClient(connectionString, "testfileshare");
shareClient.CreateIfNotExists();
var fileClient =…

SnehalPatil
- 33
- 7
0
votes
1 answer
Azure sharing a folder of files on a File Share
I'm aware you can share individual files via HTTPs URL link + SAS token to access.
Is it possible to share a link to a folder of files this way, or is there a better way to do this?
Thanks

JamieH
- 3
- 2
0
votes
0 answers
Fileshare server throwing the error `The specified path is invalid` at the root of the network drive
I have a fileshare server \\fileshareserver.abc.net and am accessing data in it using C#.
I'm calling the Directory.EnumerateFiles method to enumerate all the file under a directory.
When I call a subdirectory under the above fileshare such as…

Kartikeya Gokhale
- 125
- 3
- 10
0
votes
1 answer
sync NAS based fileshare with Azure Storage container C#
I have a organization internal fileshare which is NAS(Network attached storage) based. I need to watch fileshare subfolder and what ever files or folders added to it should be reflected in azure storage container.
I tried below,
BlobServiceClient…

Mahesh
- 823
- 1
- 11
- 29
0
votes
1 answer
Uploading Files more than 30 MB to Azure fileshare locaton from FTP using an console application(.net-C#)
I'm using a C# (.net core) console program to upload a large file (.CSV) (limit 30 MB) to an Azure Fileshare location from an FTP site. In some cases, I'm getting incomplete writes in the Azure fileshare location. However, it works most of the time…

Nair
- 21
- 5
0
votes
1 answer
How to zip my file in azure fileshare using FileShareClient?
I need to zip my file in fileshare. I have gone through few process and they all suggested methods for blob. Any link or advice that would be helpful for me to proceed?
I can't use Azure Data Factory because of cost issue and I have already gone…

Psychonaut007
- 167
- 3
- 13
0
votes
1 answer
Why my program is not executing beyond await UploadAsync?
I am trying to upload a file through stream to azure file share. This is my function :
public static async Task UploadFile(string shareName, Stream content, string fileName, string dirName)
{
var shareClient =…

Psychonaut007
- 167
- 3
- 13
0
votes
1 answer
How to close SAS URI of fileshare after the work is done?
I am using this code:
var fileSas = file.GenerateSasUri(Azure.Storage.Sas.ShareFileSasPermissions.Read, DateTime.UtcNow.AddMinutes(2));
in the above mentioned code I am making this fileSas accessible to at least 2 minutes even when my work is done…

Psychonaut007
- 167
- 3
- 13
0
votes
0 answers
How I can check lease status before acquiring lease on file in azure fileshare?
Below is my code to acquire lease on file in azure fileshare. Before acquiring lease, I need to check lease status of file.
var shareClient = new ShareClient(connectionString, "testfileshare");
shareClient.CreateIfNotExists();
var fileClient =…

SnehalPatil
- 33
- 7
0
votes
1 answer
Test-NetConnection: The term 'Test-NetConnection' is not recognized as a name of a cmdlet, function, script file, or executable program
I would like to connect to a file share from the azure portal to my windows laptop. However, the related error is shown below.
$connectTestResult = Test-NetConnection -ComputerName storagetestmy3.file.core.windows.net -Port 445
if…

Jennie
- 45
- 1
- 9
0
votes
0 answers
Is there a way to share a file with an http link (not https)?
I need to share a link so when people get connected to a server on a game, they can download online the mod file quickly.
Unfortunately, the game doesn't support https url so doesn't support any google drive, Mega, Dropbox or Mediafire link.
I've…

Will Smith
- 9
- 2