Questions tagged [cifs]

The Common Internet File System (CIFS), also known as Server Message Block (SMB), is a network protocol whose most common use is sharing files on a Local Area Network (LAN).

The Common Internet File System (CIFS), also known as Server Message Block (SMB), is a network protocol whose most common use is sharing files on a Local Area Network (LAN).

330 questions
7
votes
1 answer

How to open files in Android with default viewer using jCIFS

I'm using the free jCIFS library to connect to my NAS device via CIFS, and it's working great. I can connect and get a list of filenames, etc. without any issues. Now I'd like to open one of the files in the default Android application - i.e. a…
Michell Bak
  • 13,182
  • 11
  • 64
  • 121
7
votes
0 answers

Specify CIFS vs NFS for UNC in Windows?

On Windows 2008 Server R2 (acting as a client) I have the Client from Windows Services for NFS installed and a server mounted as Y: with NFS. That server also supports CIFS. When I open a UNC path to the server with start/run it connects using…
kmarchand
  • 71
  • 5
7
votes
2 answers

SMB/CIFS volume in Docker-compose on Windows

I have a NAS with a shared CIFS/SMB share that I would like to mount as a volume using docker-compose on Windows. I have read through multiple suggestions (for instance using plugins, mounting it in Windows to give it a drive letter) without finding…
orderlyfashion
  • 531
  • 1
  • 4
  • 14
7
votes
2 answers

Open Java SMB server implementation

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…
monorailkitty
  • 492
  • 4
  • 9
7
votes
2 answers

HTML link to directory in a Samba share, that works on Internet Explorer 7/8

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…
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
6
votes
1 answer

File transfer hurdles in .net using mono on linux to windows file share

I am writing a .Net application to transfer files between linux and windows. I use mono to achieve platform independence. I used https://code.google.com/p/cifsclient/ as a reference(Thanks Jordi Martin). His awesome solution is similar to what I am…
6
votes
1 answer

how to disable caching in CIFS (samba) on client side in linux

have developed an application to run on a target with 2.6.10 kernel. A shared folder on a windows machine is mounted via command: mount -t cifs -o username=xxx,password=xxx,forcedirectio //192.168.170.67/57 /fsRecord As you can understand from the…
shaneess
  • 61
  • 1
  • 1
  • 4
6
votes
1 answer

smbmount not working on Ubuntu 12.10

I just installed Ubuntu 12.10 and I was trying to mount a folder to the Ubuntu system. So I used: sudo smbmount /path/to/my/folder -ouser=, dom= but the smbmount was not found... All I have now is cifs-utils. The command…
Evan_HZY
  • 984
  • 5
  • 17
  • 34
6
votes
2 answers

Safely copy files on NAS Filer

we have a NetApp NAS filer which from time to time seems to fail, not sure if this depends on network issues, heavy load or the Filer itself; the thing is that the usual System.IO.File.Copy(...) command fails sometimes unexpectedly while it worked a…
Davide Piras
  • 43,984
  • 10
  • 98
  • 147
5
votes
4 answers

How can I obtain a case sensitive path on Linux without directory iteration?

Given a mounted cifs file system /network/cifs which is case insensitive, how do I obtain the case sensitive path using C? For example, the fs has a file /network/cfis/Adena/t.txt. Given /network/cfis/AdEnA/T.txt (which properly resolves), I want…
Michael Spencer
  • 1,029
  • 9
  • 18
5
votes
2 answers

How to connect to an SMB share and write to a file in Powershell without mounting?

I've gone through the documentation here. Oddly enough, I can't find anything mentioning how to simply connect to (not mount) an SMB share with PowerShell. I'm looking for the equivalent of this in Python: with smbclient.open_file(args.share,…
Grant Curell
  • 1,321
  • 2
  • 16
  • 32
5
votes
0 answers

SQLite (3) on Windows share, CIFS access from Ubuntu, nobrl, risk

It is not a good idea to use a SQLite database, for write access, on a CIFS share. Understood. I have a need to do so on a very infrequent basis. The database is written very infrequently on the Windows server (Actually windows 10, and like once…
Linwood
  • 268
  • 3
  • 9
5
votes
3 answers

File.Copy from Unc path to (same server's) Unc path inquiry

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!
Aggelos Biboudis
  • 1,175
  • 8
  • 27
5
votes
1 answer

Jenkins - Publish Over CIFS Plugin not transfering files which exist in folders with spaces in the name

I am attempting to transfer files from my Jenkins workspace to a network location using the Publish over CIFS Plugin. Ordinaraly, this works great but I have ran into a problem. When I attempt to copy over files which exist within a folder with…
5
votes
2 answers

CIFS server in .NET?

I need to represent some specific data as files in file share. Data is stored in a database and it needs some processing during the access. For this purpose, CIFS server is ideal solution. Does anybody know any CIFS/SMB server implementation in…
Marko Vodopija
  • 578
  • 6
  • 12
1
2
3
21 22