Server Message Block, network-protocol for sharing files and printers implemented by Windows, Samba and others
Questions tagged [smb]
896 questions
5
votes
0 answers
SMb Handler on urllib with python 3.5
I'm trying to get some files from my windows shared folder, running python3.5 on Ubuntu os. Since urllib2 is not available on python3
I have this simple code:
directory = 'smb://user:passw@xxx.xxx.x.xx/shared_folder/'
for symbol in symbols:
…

Manuel Migliazza
- 51
- 3
5
votes
2 answers
SMB Filesharing on Windows CE 6
I'm attempting to configure an SMB file sharing server on a Windows CE 6 device.
My initial attempts have mostly been with the desktop version of NK.exe.
When I start, SMB0: is running as smbserver.dll
I've set (hopefully) suitable registry values,…

Andromeda
- 551
- 1
- 6
- 15
5
votes
2 answers
Android upload to network drive(samba share) performance issue
i have a problem when I upload a picture of 100kb to samba share with JCIFS from my tablet, it takes about 10-20 minutes (before I changed my buffer from 1024 to 20971520 it took almost 6 hours) but it does not give any effect anymore to increase…

Kewin Björk Nielsen
- 647
- 6
- 23
5
votes
3 answers
mac El Capitan connect to server using smb failed
Mac OS X El Capitan (Version 10.11.5) want to connect to a server to access some shared images.
Finder -> Go -> Connect to Server, then input address
smb://172.16.X.X/
then next step enter username and password, then it hints
Check the server name…

zhuguowei
- 8,401
- 16
- 70
- 106
5
votes
1 answer
PHP SAMBA/SMB/CIFS and smb4php classes
have to access some media files from Network storage to be accessible through SMB and Common Internet File System. PHP website is required to do file manipulation operations on remote storage block. You may suggest some alternate method or if you…

ehmad
- 2,563
- 4
- 20
- 19
5
votes
1 answer
Azure file Storage SMB slow to list files in directory
We have an app that lists files in a folder through Azure Files. When we use the C# method:
Directory.GetFiles(@"\\account.file.core.windows.net\xyz")
It takes around a minute when there are 2000 files.
If we use CloudStorageAccount to do the…

tank104
- 323
- 4
- 15
5
votes
0 answers
torsocks[30239]: [connect] Connection to a local address are denied
I want to open a shared folder at home for me to access at work, because most ftp is blocked by firewall I though I'd find an inventive way to access my files.
On my remote host (at home) I host a tor hidden service that will forward all traffic to…

Tom Kustermans
- 521
- 2
- 8
- 31
5
votes
1 answer
React Native - connect to PostgreSQL database
I would like to connect with React Native to an external database, like PostgreSQL, MySQL or what ever. Is this possible?
But first let me tell you something about my plan:
I will develop my application for multiple installations (multiple devices…

CapCa
- 556
- 1
- 6
- 15
5
votes
2 answers
How to move (not copy) a file with JCIFS?
I'm wondering how I can move a file from one folder to another on an SMB share, using JCIFS.
First, there is no move() method whatsoever.
Then, this approach:
SmbFile smbFromFile = new SmbFile("smb://...pool/from-here/the-file.pdf", auth);
SmbFile…

peter_the_oak
- 3,529
- 3
- 23
- 37
5
votes
1 answer
Why do FindFirstFile / FindNextFile sometimes see a file on a network folder, but CopyFile does not?
I have a function that is supposed to create a backup of a source folder by copying all files from the source to a destination folder. The function uses a while loop driven by FindFirstFile / FindNextFile, then invokes CopyFile for each file found…

herzbube
- 13,158
- 9
- 45
- 87
5
votes
0 answers
File.exists() is not accurate on smb2 network share (use WatchService?)
According to this document: http://technet.microsoft.com/en-us/library/ff686200%28v=ws.10%29.aspx File.exists() is not accurate on a smb2 network share. I am not able to change any register settings, so I want to deal with it. According to the…

Olaf
- 146
- 8
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
5
votes
1 answer
Access CephFS inside Docker container without mounting CephFS on the host
I have a test node running Ceph where about 10TB of data are stored in a CephFS filesystem.
I want to make certain subpaths in the CephFS file available to a Docker container where it can be shared over NFS and SMB.
The osds, mons and mds' are…

Jesper
- 111
- 2
- 6
5
votes
3 answers
Detect SMB vs SMB2 for network share
Given a UNC path like \\server\share, is there any way to determine, using the Win32 API, whether the local and remote computers are connecting using SMB or SMB2?

Zoë Peterson
- 13,094
- 2
- 44
- 64
5
votes
1 answer
Mount SMB share from a server with a space in its name
I'm trying to mount an SMB share on the terminal. I'm able do to that, if the server has no space in its name using this command:
$ mount -t smbfs //user:password@server/resource /Volumes/resource
However in my case the server name has a space and…

Jawap
- 2,463
- 3
- 28
- 46