| Package | Description |
|---|---|
| org.apache.sshd.sftp.client | |
| org.apache.sshd.sftp.client.fs | |
| org.apache.sshd.sftp.client.impl | |
| org.apache.sshd.sftp.common | |
| org.apache.sshd.sftp.server |
| Modifier and Type | Method and Description |
|---|---|
SftpClient.Attributes |
SftpClient.Attributes.accessTime(FileTime atime) |
SftpClient.Attributes |
SftpClient.Attributes.accessTime(long atime) |
SftpClient.Attributes |
SftpClient.Attributes.accessTime(long atime,
TimeUnit unit) |
SftpClient.Attributes |
SftpClient.Attributes.acl(List<AclEntry> acl) |
SftpClient.Attributes |
SftpClient.Attributes.addFlag(SftpClient.Attribute flag) |
SftpClient.Attributes |
SftpClient.Attributes.createTime(FileTime ctime) |
SftpClient.Attributes |
SftpClient.Attributes.createTime(long ctime) |
SftpClient.Attributes |
SftpClient.Attributes.createTime(long ctime,
TimeUnit unit) |
SftpClient.Attributes |
SftpClient.Attributes.extensions(Map<String,byte[]> extensions) |
SftpClient.Attributes |
SftpClient.DirEntry.getAttributes() |
SftpClient.Attributes |
SftpClient.Attributes.group(String group) |
SftpClient.Attributes |
SftpClient.lstat(String path)
Retrieve remote path meta-data - do not follow symbolic links
|
SftpClient.Attributes |
SftpClient.Attributes.modifyTime(FileTime mtime) |
SftpClient.Attributes |
SftpClient.Attributes.modifyTime(long mtime) |
SftpClient.Attributes |
SftpClient.Attributes.modifyTime(long mtime,
TimeUnit unit) |
SftpClient.Attributes |
SftpClient.Attributes.owner(int uid,
int gid) |
SftpClient.Attributes |
SftpClient.Attributes.owner(String owner) |
SftpClient.Attributes |
SftpClient.Attributes.perms(int perms) |
SftpClient.Attributes |
SftpClient.Attributes.removeFlag(SftpClient.Attribute flag) |
SftpClient.Attributes |
SftpClient.Attributes.size(long size) |
SftpClient.Attributes |
SftpClient.stat(SftpClient.Handle handle)
Retrieve file/directory handle meta-data
|
SftpClient.Attributes |
SftpClient.stat(String path)
Retrieve remote path meta-data - follow symbolic links if encountered
|
| Modifier and Type | Method and Description |
|---|---|
void |
SftpClient.setStat(SftpClient.Handle handle,
SftpClient.Attributes attributes)
Update remote node meta-data
|
void |
SftpClient.setStat(String path,
SftpClient.Attributes attributes)
Update remote node meta-data
|
| Constructor and Description |
|---|
DirEntry(String filename,
String longFilename,
SftpClient.Attributes attributes) |
| Modifier and Type | Method and Description |
|---|---|
SftpClient.Attributes |
SftpPath.getAttributes()
Retrieves the cached
SftpClient.Attributes of this SftpPath, if it has any. |
SftpClient.Attributes |
SftpFileSystemProvider.readRemoteAttributes(SftpPath path,
LinkOption... options) |
protected SftpClient.Attributes |
SftpFileSystemProvider.resolveRemoteFileAttributes(SftpPath path,
LinkOption... options) |
| Constructor and Description |
|---|
SftpPosixFileAttributes(Path path,
SftpClient.Attributes attributes) |
| Modifier and Type | Method and Description |
|---|---|
protected SftpClient.Attributes |
AbstractSftpClient.checkAttributes(int cmd,
org.apache.sshd.common.util.buffer.Buffer request) |
protected SftpClient.Attributes |
AbstractSftpClient.checkAttributesResponse(SftpResponse response) |
SftpClient.Attributes |
SftpPathImpl.getAttributes() |
protected SftpClient.Attributes |
AbstractSftpClient.handleUnexpectedAttributesPacket(SftpResponse response) |
SftpClient.Attributes |
AbstractSftpClient.lstat(String path) |
protected SftpClient.Attributes |
AbstractSftpClient.readAttributes(int cmd,
org.apache.sshd.common.util.buffer.Buffer buffer,
AtomicInteger nameIndex) |
protected SftpClient.Attributes |
AbstractSftpFileAttributeView.readRemoteAttributes() |
SftpClient.Attributes |
AbstractSftpClient.stat(SftpClient.Handle handle) |
SftpClient.Attributes |
AbstractSftpClient.stat(String path) |
| Modifier and Type | Method and Description |
|---|---|
void |
SftpPathImpl.cacheAttributes(SftpClient.Attributes attributes)
Sets the cached attributes to the argument if this
SftpPath instance is currently caching attributes. |
void |
SftpPathImpl.setAttributes(SftpClient.Attributes attributes)
Unconditionally set the cached attributes, whether or not this instance's attribute cache is enabled.
|
void |
AbstractSftpClient.setStat(SftpClient.Handle handle,
SftpClient.Attributes attributes) |
void |
AbstractSftpClient.setStat(String path,
SftpClient.Attributes attributes) |
protected <B extends org.apache.sshd.common.util.buffer.Buffer> |
AbstractSftpClient.writeAttributes(int cmd,
B buffer,
SftpClient.Attributes attributes) |
protected void |
AbstractSftpFileAttributeView.writeRemoteAttributes(SftpClient.Attributes attrs) |
| Modifier and Type | Method and Description |
|---|---|
static SftpClient.Attributes |
SftpHelper.complete(SftpClient.Attributes attrs,
String longName)
Fills in missing information in the attributes if an SFTP v3 long name is available.
|
| Modifier and Type | Method and Description |
|---|---|
static SftpClient.Attributes |
SftpHelper.complete(SftpClient.Attributes attrs,
String longName)
Fills in missing information in the attributes if an SFTP v3 long name is available.
|
static <B extends org.apache.sshd.common.util.buffer.Buffer> |
SftpHelper.writeAttributes(B buffer,
SftpClient.Attributes attributes,
int sftpVersion) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
AbstractSftpSubsystemHelper.getLongName(Path f,
String shortName,
SftpClient.Attributes attributes) |
protected void |
AbstractSftpSubsystemHelper.writeDirEntry(ServerSession session,
int id,
org.apache.sshd.common.util.buffer.Buffer buffer,
int index,
Path f,
String shortName,
SftpClient.Attributes attributes) |
Copyright © 2018–2024 The Apache Software Foundation. All rights reserved.