Questions tagged [windows-share]

50 questions
2
votes
1 answer

Accessing a shared file?

I'm trying to read a file body from a Windows shared folder by it's UNC path, and getting this exception: The process cannot access the file '\\\logs\LogFiles\W3SVC1\u_ex141017.log' because it is being used by another process. However, this…
user626528
  • 13,999
  • 30
  • 78
  • 146
1
vote
0 answers

How to transfer file via windows share from Android MAUI app?

I would like to be able to run commands on the command prompt on a windows pc from an Android phone. I am currently doing it by a wpf app on windows which listens for files with .dev in their file name. This method is very annoying to use on a…
User not found
  • 479
  • 3
  • 15
1
vote
0 answers

Enumerating a folder on Windows share throwing FileNotFoundException while sub folder getting deleted in parallel

I have a Java method that looks at a folder on Windows share and delete any sub folder whose modification timestamp is 2 days or more ago. Basically delete stale directories as this is a staging folder where other threads in the process queue up…
videoguy
  • 1,732
  • 2
  • 24
  • 49
1
vote
0 answers

Accessing windows network share as logged in user from a web app?

After a user logs in to my web app (authenticating against Active Directory/LDAP) I need to connect to a windows network share on the same network (with their credentials/impersonating them) and access files they have access to so that they can be…
user177916
  • 11
  • 1
1
vote
0 answers

Ansible Yaml list conversion for winshare

Im trying to modify winshare permissions depending on yaml list that follows: Name: path: C:\sharepath Full: - DOMAIN\USER - DOMAIN\USER2 I have imported that list to my ansible code - name: Shareperm win_share: name: "{{ Name }}…
Nav
  • 78
  • 10
1
vote
0 answers

msaccess laccdb lock file on network share

I have a simple access database file that works perfectly fine on a local drive in a local folder.  If I share that exact same folder, then map that folder on the same computer, the laccdb lock file isn't cleared when I close the database. The…
Charles
  • 11
  • 1
1
vote
1 answer

Do multiple instances of git operating on the same repository create problems?

My Employer just now is switching to git, so my cowokers are still somewhat inexperienced. What they did now, concerned me, so I'm writing this up. They cloned a git repository on a machine, then shared that repository via windows share. Now, on the…
1
vote
1 answer

Using local accounts in windows docker container to access machines on the same network

I have a Windows machine, machine 1 on a network with a local account called testlocal. I have another machine, machine 2 on the network with the same local account, testlocal. From my machine 1, I am able to access a folder with share enabled to…
1
vote
2 answers

mount error(13): Permission denied - In docker/kubernetes

I'm fairly new to kubernetes and docker, so be patient with me. I am trying to mount a Windows share in linux which is contained in docker, which is a kubernetes pod. I managed to get all the correct permissions in kubernetes and docker to mount the…
kumar5
  • 158
  • 1
  • 2
  • 8
1
vote
2 answers

Powershell leaving RemoteDrive Sessions open

Minimal Question: How do I properly dispose of the remote Session Connection left behind after doing: $session = New-PSSession -ComputerName $VM -Credential $CurrentUser Invoke-Command -Session $session -ScriptBlock { $drive = New-PSDrive…
Brondahl
  • 7,402
  • 5
  • 45
  • 74
1
vote
2 answers

rename a file in php on a windows file server (unc path)

In PHP I want to rename (move/copy) a file on a windows file server: "\myserver\folder1\folder2\myfile.pdf" to "\myserver\folder1\folder2\OLD\myfile.pdf" (all folders already exist and destination file does not exist) I tried…
Scott Szretter
  • 3,938
  • 11
  • 57
  • 76
1
vote
0 answers

Windows Service cannot access local share via UNC path only at boot time

My Windows Service is trying to access a local share via its UNC path on its startup. It has full permissions and path exists, I can tell that since when starting my service long after boot, everything works. However, on boot time I'm getting…
Mugen
  • 8,301
  • 10
  • 62
  • 140
1
vote
1 answer

Logon failure: unknown user name or bad password while creating folder in remote machine

I'm trying to create a folder on remote machine (computer is in same network). I'm using the code, when I try to excue the code, I'm getting following error message: Logon failure: unknown user name or bad password. Can any one suggest me how to…
N.RaviKumar
  • 275
  • 1
  • 5
  • 14
1
vote
2 answers

How to make new subfolders inherent permissions ( windows server 2008 )

I have a share with a file structue like so Public ( no restrictions ) Sales ( only sales people have access ) Production ( Production only has access to this ) I created the permissions, but if someone creates a new folder in there, the permissions…
Tim Holum
  • 697
  • 1
  • 11
  • 24
1
vote
3 answers

Upload ,Download file to and from windows shared drive where java App server is running on unix

In my application I have to Upload,download files to and from windows shared drive where my java App server which is Tomcat server is running on Unix environment. Is there any Java API or any java Open source tools that does my Job?
SRy
  • 2,901
  • 8
  • 36
  • 57