Package | Description |
---|---|
org.apache.sshd.scp.client | |
org.apache.sshd.scp.common | |
org.apache.sshd.scp.common.helpers |
Modifier and Type | Field and Description |
---|---|
private ScpTimestampCommandDetails |
DefaultScpStreamResolver.time |
Modifier and Type | Method and Description |
---|---|
ScpTimestampCommandDetails |
DefaultScpStreamResolver.getTimestamp() |
Modifier and Type | Method and Description |
---|---|
void |
ScpRemote2RemoteTransferListener.endDirectDirectoryTransfer(ClientSession srcSession,
java.lang.String source,
ClientSession dstSession,
java.lang.String destination,
ScpTimestampCommandDetails timestamp,
ScpReceiveDirCommandDetails details,
java.lang.Throwable thrown)
Indicates end of direct file transfer
|
void |
ScpRemote2RemoteTransferListener.endDirectFileTransfer(ClientSession srcSession,
java.lang.String source,
ClientSession dstSession,
java.lang.String destination,
ScpTimestampCommandDetails timestamp,
ScpReceiveFileCommandDetails details,
long xferSize,
java.lang.Throwable thrown)
Indicates end of direct file transfer
|
protected void |
ScpRemote2RemoteTransferHelper.handleDirectoryTransferRequest(java.lang.String srcPath,
java.io.InputStream srcIn,
java.io.OutputStream srcOut,
java.lang.String dstPath,
java.io.InputStream dstIn,
java.io.OutputStream dstOut,
int depth,
ScpTimestampCommandDetails dirTime,
java.lang.String header) |
protected long |
ScpRemote2RemoteTransferHelper.handleFileTransferRequest(java.lang.String source,
java.io.InputStream srcIn,
java.io.OutputStream srcOut,
java.lang.String destination,
java.io.InputStream dstIn,
java.io.OutputStream dstOut,
ScpTimestampCommandDetails fileTime,
java.lang.String header) |
void |
ScpRemote2RemoteTransferListener.startDirectDirectoryTransfer(ClientSession srcSession,
java.lang.String source,
ClientSession dstSession,
java.lang.String destination,
ScpTimestampCommandDetails timestamp,
ScpReceiveDirCommandDetails details)
Indicates start of direct directory transfer
|
void |
ScpRemote2RemoteTransferListener.startDirectFileTransfer(ClientSession srcSession,
java.lang.String source,
ClientSession dstSession,
java.lang.String destination,
ScpTimestampCommandDetails timestamp,
ScpReceiveFileCommandDetails details)
Indicates start of direct file transfer
|
default void |
ScpClient.upload(byte[] data,
int offset,
int len,
java.lang.String remote,
java.util.Collection<java.nio.file.attribute.PosixFilePermission> perms,
ScpTimestampCommandDetails time) |
default void |
ScpClient.upload(byte[] data,
java.lang.String remote,
java.util.Collection<java.nio.file.attribute.PosixFilePermission> perms,
ScpTimestampCommandDetails time) |
void |
ScpClient.upload(java.io.InputStream local,
java.lang.String remote,
long size,
java.util.Collection<java.nio.file.attribute.PosixFilePermission> perms,
ScpTimestampCommandDetails time) |
void |
DefaultScpClient.upload(java.io.InputStream local,
java.lang.String remote,
long size,
java.util.Collection<java.nio.file.attribute.PosixFilePermission> perms,
ScpTimestampCommandDetails time) |
Constructor and Description |
---|
DefaultScpStreamResolver(java.lang.String name,
java.nio.file.Path mockPath,
java.util.Collection<java.nio.file.attribute.PosixFilePermission> perms,
ScpTimestampCommandDetails time,
long size,
java.io.InputStream local,
java.lang.String cmd) |
Modifier and Type | Method and Description |
---|---|
ScpTimestampCommandDetails |
ScpSourceStreamResolver.getTimestamp() |
Modifier and Type | Method and Description |
---|---|
void |
ScpTargetStreamResolver.postProcessReceivedData(java.lang.String name,
boolean preserve,
java.util.Set<java.nio.file.attribute.PosixFilePermission> perms,
ScpTimestampCommandDetails time)
Called after successful reception of the data (and after closing the stream)
|
void |
ScpReceiveLineHandler.process(Session session,
java.lang.String line,
boolean isDir,
ScpTimestampCommandDetails time) |
void |
ScpHelper.receiveDir(java.lang.String header,
java.nio.file.Path local,
ScpTimestampCommandDetails time,
boolean preserve,
int bufferSize) |
void |
ScpHelper.receiveFile(java.lang.String header,
java.nio.file.Path local,
ScpTimestampCommandDetails time,
boolean preserve,
int bufferSize) |
void |
ScpHelper.receiveStream(java.lang.String header,
ScpTargetStreamResolver resolver,
ScpTimestampCommandDetails time,
boolean preserve,
int bufferSize) |
default java.nio.file.Path |
ScpFileOpener.resolveIncomingFilePath(Session session,
java.nio.file.Path localPath,
java.lang.String name,
boolean preserve,
java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions,
ScpTimestampCommandDetails time)
Invoked when receiving a new file to via a directory command
|
static void |
ScpFileOpener.updateFileProperties(java.nio.file.Path file,
java.util.Set<java.nio.file.attribute.PosixFilePermission> perms,
ScpTimestampCommandDetails time) |
Modifier and Type | Field and Description |
---|---|
protected ScpTimestampCommandDetails |
LocalFileScpSourceStreamResolver.time |
Modifier and Type | Method and Description |
---|---|
ScpTimestampCommandDetails |
LocalFileScpSourceStreamResolver.getTimestamp() |
static ScpTimestampCommandDetails |
ScpTimestampCommandDetails.parse(java.lang.String line) |
Modifier and Type | Method and Description |
---|---|
void |
LocalFileScpTargetStreamResolver.postProcessReceivedData(java.lang.String name,
boolean preserve,
java.util.Set<java.nio.file.attribute.PosixFilePermission> perms,
ScpTimestampCommandDetails time) |
protected void |
LocalFileScpTargetStreamResolver.updateFileProperties(java.lang.String name,
java.nio.file.Path path,
java.util.Set<java.nio.file.attribute.PosixFilePermission> perms,
ScpTimestampCommandDetails time) |