Package | Description |
---|---|
org.kepler.ssh | |
org.sdm.spa.actors.transport |
Modifier and Type | Method and Description |
---|---|
protected int |
GsiSshExec._copyTo(java.io.File lfile,
java.lang.String targetPath,
boolean recursive)
Copy _one_ local file to a remote directory Input: file of type File
(which can be a directory) Input must not have wildcards. targetPath is
either a directory or filename
|
protected int |
SshExec._copyTo(java.io.File lfile,
java.lang.String targetPath,
boolean recursive)
Copy _one_ local file to a remote directory Input: file of type File
(which can be a directory) Input must not have wildcards. targetPath is
either a directory or filename
|
protected abstract int |
RemoteExec._copyTo(java.io.File lfile,
java.lang.String targetPath,
boolean recursive) |
boolean |
GsiSshExec.authenticate(boolean externalkeyx) |
protected static int |
SshExec.checkAck(java.io.InputStream in) |
int |
RemoteExec.copyFrom(java.lang.String targetPath,
java.util.Collection files,
java.io.File localPath,
boolean recursive)
Copy remote files from a remote directory to a local path Input: 'files'
is a Collection of files of type String (!
|
int |
GsiSshExec.copyFrom(java.lang.String sourcePath,
java.io.File localPath,
boolean recursive) |
int |
SftpExec.copyFrom(java.lang.String rfile,
java.io.File localPath,
boolean recursive)
Copies file/directory from a remote machine to local machine using Jsch
sftp channel.
|
int |
SshExec.copyFrom(java.lang.String rfile,
java.io.File localPath,
boolean recursive)
Copy a remote file into a local file Input: 'rfile' of type String (can
be a directory or filename) 'localPath' is either a directory or filename
Only if 'recursive' is set, will directories copied recursively.
|
abstract int |
RemoteExec.copyFrom(java.lang.String rfile,
java.io.File localPath,
boolean recursive) |
int |
RemoteExec.copyTo(java.util.Collection files,
java.lang.String targetPath,
boolean recursive)
Copy local files to a remote directory Input: files is a Collection of
files of type File, targetPath is either a directory in case of several
files, or it is either a dir or filename in case of one single local file
recursive: true if you want traverse directories
|
int |
SftpExec.copyTo(java.io.File lfile,
java.lang.String targetPath,
boolean recursive)
Copies files/directories from local machine to remote host
|
int |
RemoteExec.copyTo(java.io.File lfile,
java.lang.String targetPath,
boolean recursive)
Copy a local file to a remote directory/path Input: file of type File
(which can be a directory).
|
java.util.List |
GsiSshExec.getAvailableAuthMethods() |
java.lang.String |
SftpExec.getRecursiveCopyCmd(java.lang.String srcFile,
java.lang.String destFile,
boolean isConnectionOrigin)
Returns the list of sftp commands (combination of "mkdir" and "put"
commands) that are required to recursively copy a directory.
|
boolean |
SftpExec.isRegularOrLinkFile(java.lang.String srcFile)
Checks if a given file is a regular file.
|
static void |
TestExec.main(java.lang.String[] arg) |
static void |
TestExecThirdparty.main(java.lang.String[] arg) |
static void |
TestDelete.main(java.lang.String[] arg) |
static void |
TestExecThirdpartyLocal.main(java.lang.String[] arg) |
static void |
TestExecMulti.main(java.lang.String[] arg) |
boolean |
GsiSshExec.openConnection() |
boolean |
SshExec.openConnection()
Open the connection to the remote machine now.
|
abstract boolean |
RemoteExec.openConnection() |
boolean |
GsiSshExec.openConnection(boolean authenticate) |
void |
SshExec.removePortForwardL(int port,
boolean closeIfLast)
Remove a local port forwarding.
|
void |
SshExec.removePortForwardR(int port,
boolean closeIfLast)
Remove a remote port forwarding.
|
void |
SshExec.setPortForwardingL(java.lang.String spec)
Set a local port forwarding before the connection is made.
|
void |
SshExec.setPortForwardingR(java.lang.String spec)
Set a remote port forwarding before the connection is made.
|
Modifier and Type | Method and Description |
---|---|
protected FileCopierBase.CopyResult |
SrmliteCopier.copyFrom(ConnectionDetails srcDetails,
java.lang.String srcFile,
java.lang.String destFile,
boolean recursive) |
protected FileCopierBase.CopyResult |
BbcpCopier.copyFrom(ConnectionDetails srcDetails,
java.lang.String srcFile,
java.lang.String destFile,
boolean recursive) |
protected FileCopierBase.CopyResult |
ScpCopier.copyTo(java.lang.String srcFile,
ConnectionDetails destDetails,
java.lang.String destFile,
boolean recursive) |
protected FileCopierBase.CopyResult |
SrmliteCopier.copyTo(java.lang.String srcFile,
ConnectionDetails destDetails,
java.lang.String destFile,
boolean recursive) |
protected FileCopierBase.CopyResult |
BbcpCopier.copyTo(java.lang.String srcFile,
ConnectionDetails destDetails,
java.lang.String destFile,
boolean recursive) |