377 questions
1
vote
0
answers
48
views
How can I determine the max filename length on Windows network drive which may or may not be NTFS?
I'm on Windows and need to programmatically determine the maximum filename length allowed on any given volume. I'm having a problem with a network drive that is mapped to a btrfs volume on a NAS.
...
0
votes
0
answers
87
views
pm2 windows service cannot access network drive in nodejs
I’m facing an issue with a Node.js application that uses the fs module to read files from a network drive on Windows. The app works fine during development, but when I run it as a PM2 service, it ...
0
votes
1
answer
73
views
Does someone have an elegant way to provide to users a bunch of network drives in an Active Directory?
I want to create some network drives in this AD domain:
test.local
├── Classes
│ ├── 3A [students...]
│ ├── 3B [students...]
│ ├── ...
│ └── 6D [students...]
└── Teachers
└── [Teachers...]...
1
vote
1
answer
111
views
Mount Network Drive SwiftUI
import SwiftUI
struct ContentView: View {
@State private var username: String = ""
@State private var password: String = ""
@State private var ...
1
vote
0
answers
144
views
I want to save a file to a network hard drive from a Docker Compose, running on a Linux MiniPC
I have installed a camera at the door of my house (Reolink doorbell POE).
I have it integrated into Home Assistant with Docker Compose running on a PC.
I want it to record when it detects movement and ...
0
votes
1
answer
805
views
Automatically connect to network drives after connecting to VPN
I have several mapped network drives that I can only access when on my company's LAN or when connected to the VPN using OpenVPN.
When I connect to the network in our office, the drives automatically ...
0
votes
0
answers
52
views
Upload file to mapped network drive from symfony application
I have a symfony application from which I want users to be able to upload files to their network drive
I mapped my onedrive to my network drive a network drive I could use for testing. Then I try ...
1
vote
0
answers
105
views
How to access network drive for dropping a file during automation run using Jenkins
Not able to access network drive location using csharp code while running script through Jenkins
Tried with
File.Copy("sourcepathloc", "destpathloc")
It's working while running ...
0
votes
1
answer
672
views
How to disable "Network" in Explorer via registry key?
I am trying to disable/hide the "Network" folder when calling the SaveFileDialog in C# WPF and from everything that I've read on SO/Google, there is no way to customize/hide/disable the ...
1
vote
1
answer
881
views
Using PowerShell to Run a Script that installs some files from a mapped drive
I have a folder that has some install files for new user computers and need to create a script that runs the install files from a folder that is located on a network drive that's mapped to my ...
0
votes
1
answer
442
views
Permission Error in VS Code When Saving File on Network Drive Shared - How to Resolve
I'm running a local server in my network, powered by Ubuntu 22.04, that shares a folder with all stations.
I've installed a VPN using ZeroTier to access this local server from anywhere.
Everything ...
1
vote
1
answer
437
views
Powershell Mapping to network drive via Ansible
I currently have a powershell script (deploy.ps1) which I use to manage files on a network drive. When running my script, I am successfully able to map to the drive and access the contents. However, ...
1
vote
0
answers
143
views
dir.exists() too slow on network paths
I want to check if a directory exists on a windows network drive. On the case that it does not exist, the dir.exists() functions takes too much time to return. I understand this is due to windows API.
...
0
votes
1
answer
28
views
How do we read excels saved in various sub folders in a folder on a network drive using python?
The data in the excels is saved in annual folders (2020, 2021, 2022). Each year has sub folders for the 12 months (01-2022, 02-2022, 03-2022) and each monthly folder has sub folders for each day (01-...
1
vote
1
answer
127
views
Python popen - How do I search a file using file id in the network drive?
I have a python script which prints the file id from the file system. And it can search a file using its file id and prints the file full path. This works perfectly in the local drive. But I cannot ...
-1
votes
1
answer
867
views
The mapped network drive could not be created because the following error has occurred: The parameter is incorrect
cmd.exe /C "cmdkey /add:"******" /user:"*****" /pass:"**********`""
OS version
Share Disk mount Error
1.Checked the network connection no block
2.Checked the ...
1
vote
1
answer
426
views
How to export google sheet to CSV and store the CSV in a Network Drive (NOT the shared drive in google drive)?
In this post, I can use the script to export a sheet from google sheet to a csv file, but that file is saved in my google drive. How can I export it to a network drive? The network drive I mean is ...
1
vote
1
answer
152
views
Socket WinError 10022 but only as an executable on a Networkdrive
I've got an XML file from which I parse a host adress + port. My script is supposed to establish a connection to every host over the given port (only port 22 ATM) to check the availability of the ...
0
votes
0
answers
1k
views
Remotely delete and map network drive for a user
I am trying to remotely unmap and map a network drive for users on my domain. I need it to work by searching a key phrase in the drive path (\"phrase"\folder...) While not knowing the letter ...
0
votes
2
answers
2k
views
new NetworkConnection causing issues ("network location already in use")
(known) Issue:
I have a specific application part in order to create a user home drive on a network location:
System.Net.NetworkCredential cred = new System.Net.NetworkCredential(myadmin,pwd);
using (...
0
votes
0
answers
966
views
Where on the host can I find Docker bind mounts that are expected to be on a network drive?
I'm running Windows 10 with WSL2 and a network drive, H:.
When I run a Docker container with bind mounts to a location on the local C: drive, everything works as expected: data written to that ...
0
votes
0
answers
199
views
Use deno to create windows network drive (using windows dll)
I want to rewrite an old .bat program into Deno compiled app.
I know how to handle most things, but I do struggle with creating network drives. Previously I used code like this:
cmdkey /add:PCName /...
0
votes
0
answers
536
views
Permission denied Read file on a network drive from php server for which just the user has read access to it
I want to open a file in a network drives with php. The file is not accessible for every one, just for one user.
I have the following code:
$file = "$dir/$fileName";
$fp = ...
0
votes
2
answers
73
views
C# File.copy and Directory.CreateDirectory working on Win10 but in Win7 it appends folder to parent folder
The same code, one on windows 10, the other on windows 7.
The idea is to have a directory from a network drive replicate over to a local drive.
On windows 10, the machine I am writing it on, it works ...
0
votes
1
answer
863
views
Using CVS file to map network drives - PowerShell
I am developing a couple of PowerShell scripts to help speed up the process of migrating user data from an old workstation to a new one. Currently trying to make one to help with retrieving and then ...