public class ScpController
extends java.lang.Object
Constructor and Description |
---|
ScpController(java.lang.String scpOptions,
java.lang.String scpConnection,
java.lang.String sshOptions,
java.lang.String sshConnection) |
Modifier and Type | Method and Description |
---|---|
boolean |
copyFromLocalDirectory(java.lang.String source,
java.lang.String destination) |
boolean |
copyFromLocalFile(java.lang.String source,
java.lang.String destination) |
boolean |
delete(java.lang.String filePath) |
boolean |
mkdirsIfNotExists(java.lang.String dir) |
public ScpController(java.lang.String scpOptions, java.lang.String scpConnection, java.lang.String sshOptions, java.lang.String sshConnection)
public boolean mkdirsIfNotExists(java.lang.String dir)
public boolean copyFromLocalFile(java.lang.String source, java.lang.String destination)
public boolean copyFromLocalDirectory(java.lang.String source, java.lang.String destination)
public boolean delete(java.lang.String filePath)