public class SmbFiles
extends java.lang.Object
| Constructor | Description |
|---|---|
SmbFiles() |
| Modifier and Type | Method | Description |
|---|---|---|
static int |
copy(java.io.File source,
DiskShare share,
java.lang.String destPath,
boolean overwrite) |
Copies local file to a destination path on the share
|
public static int copy(java.io.File source,
DiskShare share,
java.lang.String destPath,
boolean overwrite)
throws java.io.IOException
share - the sharedestPath - the path to write tosource - the local Fileoverwrite - true/false to overwrite existing filejava.io.FileNotFoundExceptionjava.io.IOException