Comments (8)
I don’t get the question. This library is client and supports connecting to SMB2 server and its dialects.
from amsmb2.
Whether it is a SMB2 Server or not?
For example I tried connecting to a old server (Apple TimeCapsule) and it never returned anything. So my assumption is that it only supports SMBv1
from amsmb2.
This library does not provide any way to detect server support. It only will return an error if server doesn’t support SMB2/3 protocol or fails to establish a connection.
You can use a SMB1 library like libdsm
(or its objective-c wrappers) as fallback.
from amsmb2.
My problem is that it doesn't return an error, it only timeouts.
But I'm talking about a method to detect in general besides this library, if there is any (MacOS/Linux)
from amsmb2.
Probably the server doesn’t return anything.
from amsmb2.
Well it could also be a slow connection or slow dns Server that is resolving a hostname. So I don't want to wait 2 minutes to find out whether I need SMBv1 or SMBv2/3
from amsmb2.
There has to be a way
How is the MacOS Finder then doing it? It always and instantly take the best Version?
from amsmb2.
Of course there is. Please read this link to know how this can be done. But the underlying library (libsmb2) supports no protocol other than SMB2 protocol and its dialects and there is no intention to add SMB1/CIFS support. But you can use libdsm to add SMB1/CIFS support.
from amsmb2.
Related Issues (20)
- Library not loaded on iPhone device HOT 5
- Objective-c HOT 1
- Dependency "AMSMB2" has no shared framework schemes for any of the platforms: iOS
- Using to stream AV files.... HOT 1
- can someone know how to fix this HOT 1
- Upload the file keeping the original creation date HOT 1
- Cannot obtain data from Windows shares HOT 1
- Cannot extract data, move, download, copy; etc. from Linux or Windows shares with latin characters in file name HOT 8
- Which thread does amsmb2 run on HOT 1
- Connect to a Distributed File System-Namespaces HOT 1
- Uploading a folder HOT 1
- import AMSMB2 to xCode HOT 1
- macOS arm64 architecture missing HOT 2
- No such module 'SMB2' HOT 1
- Long delay when processing delete requests of recently uploaded items. HOT 1
- Struct smb2_context has removed member is_connected for the latest libsmb2? HOT 1
- Need support for M1 iphone simulator "arm64-apple-ios-simulator" HOT 1
- Build error: unsafe build flags HOT 7
- Intel x86_64 support does not work ? HOT 3
- init SMB2Manager throws error HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amsmb2.