Questions tagged [smb]

Server Message Block, network-protocol for sharing files and printers implemented by Windows, Samba and others

896 questions
169
votes
13 answers

How do you force a CIFS connection to unmount

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…
Lawrence D'Anna
  • 2,998
  • 2
  • 22
  • 25
116
votes
1 answer

What are `Zone.Identifier` files, and how do I prevent them from being created?

I often see files named 'blabla.exe:Zone.Identifier' when monitoring I/O with Process Monitor. The files are seen on network-drives. What are Zone.Identifier files? What does the colon mean in the filename? Is the colon related the file's extended…
Benjamin
  • 10,085
  • 19
  • 80
  • 130
27
votes
3 answers

Access to file using Java with Samba JCIFS

I have a question about accessing file with Samba JCIFS. So there is a server I want to access, let's call it server.unv.edu and the workgroup is WKGRP. There is a share in this server: \\server.unv.edu\pcb$ the way I am trying to access to the…
Allan Jiang
  • 11,063
  • 27
  • 104
  • 165
26
votes
5 answers

Windows file share: why sometimes newly created files aren't visible for some period of time?

We were faced with very strange issue that made us crazy. Sometimes newly created files on our File Share PC were "absent" for some period of time. To reproduce a problem you should have at least two computers, call them alpha and beta. Create file…
Roman
  • 4,531
  • 10
  • 40
  • 69
24
votes
1 answer

smb authentication (74 bytes vs 24?)

I need to implement a virtual filesystem that will be accessed as a Windows share. It seems Alfresco JLan is doing the job. So far, I have some promising results starting from this answer: How to setup alfresco jlan file server as a standalone java…
ymajoros
  • 2,454
  • 3
  • 34
  • 60
23
votes
5 answers

Read remote file beginning with "smb://" using R

To read a file in R, I'd normally do something like the following: read.csv('/Users/myusername/myfilename.csv') But, I'm trying to read a file located on a remote server (Windows SMB/CIFS share) which I access on my Mac via the Finder → Go →…
Joshua Rosenberg
  • 4,014
  • 9
  • 34
  • 73
18
votes
2 answers

access remote files on server with smb protocol python3

I have a remote server with some files. smb://ftpsrv/public/ I can be authorized there as an anonymous user. In java I could simply write this code: SmbFile root = new SmbFile(SMB_ROOT); And get the ability to work with files inside (it is all I…
Alex
  • 3,923
  • 3
  • 25
  • 43
18
votes
3 answers

Link to samba shares in html

First off if you're unaware, samba or smb == Windows file sharing, \\computer\share etc. I have a bunch of different files on a bunch of different computers. It's mostly media and there is quite a bit of it. I'm looking into various ways of…
SCdF
  • 57,260
  • 24
  • 77
  • 113
14
votes
3 answers

mount error(6): No such device or address when sharing windows folder to ubuntu

I have a windows shared folder named \\mymachine\sf and I want to map it as a ubuntu device. I use smbmount command as below: smbmount //mymachine/sf /mnt/sf -o The output is like retrying with upper case share name mount error(6): No…
Catherine Dai
  • 553
  • 2
  • 5
  • 7
12
votes
2 answers

Android ServerSocket programming with jCIFS streaming files

I've got a bit of an issue and I've been asking regarding it quite a few times, but I think I'm one step closer now, so hopefully someone can help me with the rest. My previous questions: Connect to NAS device from Android How to open files in…
Michell Bak
  • 13,182
  • 11
  • 64
  • 121
12
votes
2 answers

How to navigate to a network host in JFileChooser?

The Problem I have a JFileChooser and I need to programmatically set its currentDirectory to a network host containing several SMB shares (e.g. \\blah). Technically this is not a "directory" but rather a shell folder representing a list of available…
matvei
  • 746
  • 9
  • 22
11
votes
4 answers

SMB/samba support on iOS?

I check iOS document and also google it for a while and get the impression that iOS does not support samba (although there is a samba app for jailbreak iPhone). But then how do the app FileBrowser achieves that? Does that mean they implemented samba…
Qiulang
  • 10,295
  • 11
  • 80
  • 129
11
votes
3 answers

ANDROID: Accessing CIFS Shares in Java

I'm writing my first Android app, which is more or less going to be a mount point manager. Local mounts and NFS mounts have been easy, but I'm not sure of how to go about CIFS shares. Ideally, after selecting a host, a list of CIFS shares would be…
Emma
  • 2,012
  • 5
  • 21
  • 30
11
votes
1 answer

Using Windows SMB shares from Kubernetes deployment app

We are migrating legacy java and .net applications from on-premises VMs to an on-premises Kubernetes cluster. Many of these applications make use of windows file shares to transfer files from and to other existing systems. Deploying to Kubernetes…
11
votes
5 answers

Accessing SMB2.1 or SMB3 share from Java?

As Windows 2012R2 no longer supports the SMB 1 protocol without some registry hacks has anyone had any success working with SMB shares in Java where only SMB 2.1 or SMB 3 are supported? The JCIFS library is apparently SMB 1 only so it is out. I see…
Moth
  • 765
  • 2
  • 7
  • 14
1
2 3
59 60