Questions tagged [fileshare]
252 questions
17
votes
3 answers
C# file read/write fileshare doesn't appear to work
My question is based off of inheriting a great deal of legacy code that I can't do very much about. Basically, I have a device that will produce a block of data. A library which will call the device to create that block of data, for some reason I…
mmr
12
votes
2 answers
Accessing a network file share with C#
I've never done this before, and all of the research I've done indicates needing user names/passwords. Here's the situation: I am developing an app for my company, and the app needs to access a file share on the network. Let's call that file share…

Mike Marks
- 10,017
- 17
- 69
- 128
11
votes
2 answers
Copy files over network via file share, user authentication
I am building a .net C# console program to deploy file to a windows file share server (folder that is being shared). The path is :: \\192.168.0.76\htdocs\public
On running I am getting the error:
[09:35:29]: [Step 1/3] Unhandled Exception:…

Patrick Lorio
- 5,520
- 11
- 45
- 74
11
votes
3 answers
How to implement iTunes built-in App "File Sharing" feature
I've noticed that several apps, when an iP* is connected, has a "File Sharing" feature inside of iTunes. Example applications are CloudReaders, Stanza, etc. This interface lets users Add files to the app and Save files from the app to their…

Kalle
- 13,186
- 7
- 61
- 76
9
votes
5 answers
Accessing files beyond MAX_PATH in C#/.NET
BACKGROUND
I need to write a tool using .NET version 2.0 at highest (using something off the shelf is not an option for this client for political, commercial, and confidentiality/trust reasons) to migrate files from one server to another over the…

Jon Grant
- 11,369
- 2
- 37
- 58
7
votes
2 answers
Azure file storage: High count of ClientOtherError
Just noticed that my fileshare storage in Azure has a very high rate of the "ClientOtherError" appearing. They're running at anywhere from 50-100% of the success count.
Anyone have any experience as to why this might be?
The attached graph shows the…

Chris Carman
- 201
- 1
- 3
- 7
7
votes
3 answers
Reading hidden share in C#
So I have a small C# app that needs to periodically check the contents of directories on multiple machines on the network. I thought I could just read \hostname\C$ as a directory path, but with the normal Directory class there doesn't seem to be a…

C Hogg
- 1,001
- 10
- 15
6
votes
1 answer
Issue with Azure chunked upload to fileshare via Azure.Storage.Files.Shares library
I'm trying to upload files to an Azure fileshare using the library Azure.Storage.Files.Shares.
If I don't chunk the file (by making a single UploadRange call) it works fine, but for files over 4Mb I haven't been able to get the chunking working. The…

Steve B
- 473
- 1
- 4
- 14
6
votes
1 answer
How to work around LocalFileSettingsProvider requiring Full Control/OwnerRights
In my .NET client application I use the default settings provider with Scope=User and Roaming=True. This works fine in most environments, no matter if client or Terminal Server, except for a customer with a Citrix Terminal Server farm. Whenever…

realMarkusSchmidt
- 4,303
- 1
- 29
- 33
6
votes
2 answers
Share Folder (SMB) from EC2 Instance on AWS to remote machine
I am trying to migrate an application to Amazon and need client machines to be able to connect in. Realistically it seems as though I'll just need to be able to MAP a folder on the EC2 instance (running Windows Server 2008 R2) to the client…

user2548469
- 427
- 2
- 6
- 10
6
votes
1 answer
How can I generate notifications that data written via a FileStream is on the disk?
I would like to read a file after I have been notified that a certain amount of data has been written to it via another thread. My intial attempt was to create a Reactive Subject in my Writer class that calls OnNext after the Write to the…

Fredrick
- 1,210
- 2
- 15
- 24
6
votes
2 answers
How to open a StreamReader in ShareDenyWrite mode?
How do i open a StreamReader with FILE_SHARE_READ, FILE_SHARE_WRITE, FILE_SHARE_DELETE?
Same question, slightly expanded
How do i open a StreamReader so that i can read an encoded text file, with sharing options so that another process can read the…

Ian Boyd
- 246,734
- 253
- 869
- 1,219
5
votes
1 answer
Share extension react native - expo
I have created a react-native app using expo. Now I am looking for share-extension to the app to import CSV data from email attachment to my app.
I have tried npm package but that does not work for me(I was not able to build my project with that npm…

Rutul Patel
- 663
- 2
- 10
- 23
5
votes
0 answers
Access network file share from azure app service - web app - ASE in hybrid setup
There is an azure web app in azure app service ASE. It is linked to a Vnet. And a point to site VPN between laptops/PCs connecting to the Vnet from outside cloud/ on premises to form an hybrid cloud setup of sorts. I am trying to see if a network…

Aravind
- 4,125
- 1
- 28
- 39
4
votes
1 answer
Life Cycle Management for Azure File Share
I just found that there is not Life Cycle Management support for a file share in a blob storage. What is a good way to regularly delete files from a file share? Logic App? Azure function? It should be also cost sensitive.

Kai
- 41
- 1
- 3