public class SMBClient
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PORT
The default TCP port for SMB
|
| Modifier and Type | Method and Description |
|---|---|
Connection |
connect(java.lang.String hostname)
Connect to the host at
|
public static final int DEFAULT_PORT
public SMBClient()
public SMBClient(Config config)
public Connection connect(java.lang.String hostname) throws java.io.IOException
hostnameon the default port (445)
hostname - The hostname to connect to.java.io.IOException - If the connection could not be established.