Questions tagged [fileshare]

252 questions
3
votes
2 answers

Does FileShare.None make threads wait until the filestream is closed?

When using a file stream, and setting FileShare to None, and say two users accessing the same function at the same time want to read/write to that file. Will FileShare.None make the second users request waiting or will the second user's request…
Satbir Kira
  • 792
  • 6
  • 21
2
votes
1 answer

xmpp file share

I want to do file sharing using XMPP.I have gone through all XEP protocols provided like XEP-0096,0095,0060 and many more but cant find out proper way to go ahead! please guide me with that.using XEP-0096 I am at that state where on reception side…
cjd
  • 549
  • 3
  • 11
2
votes
0 answers

Powershell - How to use Start-Process to call file from share/pass args in single line

To preface this, I am self teaching and brand new to scripting in general, let alone powershell. After a cumulative 12 hours, my Google fu has run out. I had a series of programs tailored to different models of computer we support that ran a staged…
Mungle
  • 21
  • 1
2
votes
1 answer

Does opening a file with Share-Delete allow others to write?

The FileShare enumeration offers various flags such as Read, Write, Delete, ... . Normally I'd think that sharing a file for deletion only allows deletion but nothing else (like reading). However, I remotely recall that Windows only differentiates…
mafu
  • 31,798
  • 42
  • 154
  • 247
2
votes
1 answer

samba setting on macosx

when using linux, add guest ok = yes in smb.conf then PC could access \\xxx.xxx.xxx.xxx with no name and password with macosx i use file sharing with smb, could anyone tell me how to do it with GUI setting thanks in advance
toughtalker
  • 461
  • 2
  • 6
  • 14
2
votes
3 answers

Playback large files on Windows Media Player during download

My question is about writing a video file to the hard drive that is being downloaded from the network and playing it at the same time using Windows Media Player. The file is pretty big and will take awhile to download. It is necessary to download it…
CLaRGe
  • 1,821
  • 1
  • 25
  • 22
2
votes
1 answer

File share not showing up as service, although it says the configuration offered it

File share not showing up as service, although it says the configuration offered it. Why isnt File Share available and only Blob container?
Mike Flynn
  • 22,342
  • 54
  • 182
  • 341
2
votes
1 answer

Open a file that is on a file server from a webpage?

I am working on an internal application. We have a website that displays all our SSRS reports for a group of work. I have been asked to see if I can link all the files (pdf, word, excel) for the group of work. These files are stored on a file server…
Tony
  • 1,684
  • 1
  • 18
  • 29
2
votes
1 answer

Access on premise SMB file share from Azure virtual machine

Following is the article about Create and manage Azure Files share with Windows virtual machines https://learn.microsoft.com/en-us/azure/storage/files/storage-files-quick-create-use-windows What we want is we have one existing file share hosted on…
2
votes
1 answer

How to get all files which is inside sub-folders in azure file share storage c#?

I want to copy all files which are inside sub-folders. folder structure - Source\Folder1\Data\file1.txt Source\Folder1\Data\file2.txt Source\Folder1\Data\Temp1\temp1.txt Source\Folder1\Data\Temp1\temp2.txt I have following code but I'm only getting…
Neo
  • 15,491
  • 59
  • 215
  • 405
2
votes
1 answer

Is it possible to open a file from a shared folder outside the browser

We have a file handling ASP.Net web control used in intranet web applications, that currently uses ActiveX to handle file check-outs, and check-ins. Works fine, in IE&Win. But now we are trying to get rid of ActiveX & IE only behavior... If a file…
Akos Lukacs
  • 2,007
  • 1
  • 16
  • 21
2
votes
0 answers

Android 8.0 issue for File share through other app (Email,Whatsapp etc..)

I have .wav files in my internal storage. using my android app I want to share that files using the supported app. ArrayList files = new ArrayList(); Uri uri = Uri.fromFile(file); Intent share = new…
Parth
  • 1,908
  • 1
  • 19
  • 37
2
votes
2 answers

FileShare ReadWrite not working (C#.NET)

I'm using a hex-editor control for C#, the source code and binary files can be found here. One problem when using it was that if a file was loaded in the hex-editor and another program, the other program can't save the file, because it's already…
Iceyoshi
  • 623
  • 3
  • 10
  • 14
2
votes
0 answers

How can I check the permissions of a network drive on Windows?

I have some file shares which had problems with the permissions in the past. I need to monitor them now, daily. For this, I wanted to build a script in Python which automates that for me. I can't get it working. And I don't know why and can't find a…
Thomas B.
  • 21
  • 2
2
votes
1 answer

Search solutions to index Windows SMB file share

I'm identifying search solutions that can crawl Windows SMB file shares and expose the search results through an API (with security trimming). So far, it seems like SharePoint and Elastic Search can handle this. But are there other possible…
Martinfy
  • 121
  • 1
  • 6
1 2
3
16 17