I have a CIFS share mounted on a Linux machine. The CIFS server is down, or the internet connection is down, and anything that touches the CIFS mount now takes several minutes to timeout, and is unkillable while you wait. I can't even run ls in my home directory because there is a symlink pointing inside the CIFS mount and ls tries to...
With bash on linux, how would I write a command to recursively traverse shares mounted, and run commands on each file, to get the file type and size, permissions etc, and then output all of this to a file?
...
So I've got a Samba share located on server A. I have that share mounted to two other servers, B and C. The idea is that B and C need to write temporary files to a single location so that multiple background processing jobs (also running on B and C) have access to the same pool of files.
When the background processes are complete they ...
I need to run a bunch of old DOS FoxPro / Clipper applications in linux under DOSEMU.
The programs access their "databases" located on a network server (could be a Windows or
Linux server)
Actually, the programs ran fine, but I cannot manage to make the record locking work
as supposed: I can run a program in two terminals (or the server...
We have a Rails app with nginx front end. Users can upload files, which are stored on a Windows network share, and retrieve them later. The uploaded files are served statically through nginx.
Downloading an image, for example, will only download a portion of the original image. Refreshing the page successfully downloads a little more of...
I'm working on a project in Visual Studio, and I want to create a local database file (.mdf) within the project directory so that it can be checked into SubVersion and have configuration management. Unfortunately, trying to create/attach a database on a network share leads to an error.
All of the resources I have found to enable NAS fun...
Hello all,
I want my HTML page to link to a directory in a Samba share (protocol SMB/CIFS Windows share).
In my HREF I wrote file://server/Share2/folder3
Most browsers handle it fine (mount the share and open a file manager on folder3) except Internet Explorer 7 and Internet Explorer 8, which says Permission denied without even asking ...
Hello.
I'm looking for some stand alone library to access SMB/CIFS shares.
I am not looking for mounting the shares, just browsing and accessing the files for reading.
Preferable something with a simple simple API similar to regular POSIX operations of opendir, scandir, read and etc.
Thanks in advance!
...
I have a batch file with the net use command to map a share. I converted the batch script into an exe and called it by creating a service.
The EXE works fine when I run it and maps the drive. When I invoke it through a service, it returns an error, "System did not respond within 3000 milliseconds" and it errors out.
How do I make a sh...
To optimize builds between Windows and Linux (Ubuntu 10.04), I've got a UNC share of the source tree that is shared between systems, and all build output goes to local disk on each system. This mostly works great, as source updates and changes can quickly be tested on both systems, but there's one annoying limitation I can't find a way ...
Will data traffic go through the host application program or will be dealt remotely in scenarios where C#'s File.Copy is used:
File.Copy(@"\\SERVER13\LOL\ROFL.txt", @"\\SERVER13\ROFL.txt")
Cheers n thx!
...
How do you create a CIFS packet and broadcast it in C#?
Any code snippets would be greatly appreciated.
...
Is there an open implementation of a SMB/CIFS server in Java? The only implementation I can find at all is Alfresco's but it isn't open source.
A related question: assuming there is no such implementation, I'm surprised there isn't a library providing even a subset of SMB e.g. for simple file transfer. My intuition is that it wouldn't b...