public class SCPUtil extends Object
| Constructor and Description |
|---|
SCPUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createSourceInfo(Path dest,
String source) |
static int |
fetchViaSCP(String sourcePath,
Path destDir,
String user,
String password,
String host,
int port) |
static int |
fetchViaSCP(String sourcePath,
Path destDir,
String user,
String password,
String host,
int port,
boolean pwIsCertPath)
Note that source path may contain wildcards
|
static int |
fetchViaSCPCert(String sourcePath,
Path destDir,
String user,
String password,
String host,
int port) |
static int |
sendViaSCP(String sourcePath,
String destDir,
String user,
String password,
String host,
int port,
org.ogema.core.application.ApplicationManager appMan,
boolean createDateDir) |
static int |
sendViaSCP(String sourcePath,
String destDir,
String user,
String password,
String host,
int port,
org.ogema.core.application.ApplicationManager appMan,
boolean pwIsCertPath,
boolean createDateDir) |
static int |
sendViaSCPCert(String sourcePath,
String destDir,
String user,
String password,
String host,
int port,
org.ogema.core.application.ApplicationManager appMan,
boolean createDateDir)
IF the sourcePath is a directory we send all files, but no subdirectories
|
public static int fetchViaSCPCert(String sourcePath, Path destDir, String user, String password, String host, int port)
public static int fetchViaSCP(String sourcePath, Path destDir, String user, String password, String host, int port)
public static int fetchViaSCP(String sourcePath, Path destDir, String user, String password, String host, int port, boolean pwIsCertPath)
public static int sendViaSCPCert(String sourcePath, String destDir, String user, String password, String host, int port, org.ogema.core.application.ApplicationManager appMan, boolean createDateDir)
public static int sendViaSCP(String sourcePath, String destDir, String user, String password, String host, int port, org.ogema.core.application.ApplicationManager appMan, boolean createDateDir)
Copyright © 2019. All rights reserved.