SecureBlackbox 2020 Kotlin Edition

Questions / Feedback?

SFTPListEntry Type

A container for filesystem element's attributes.

Remarks

This type contains attributes of a single entry returned by a ListDir command.

The contents of this container may differ for different servers (not all servers support all attributes).

Fields

ATime
String?

Contains the last access time for this file, in UTC.

CTime
String?

Contains this file's creation time, in UTC.

Directory
Boolean

Specifies whether this entry is a directory.

FileType
SFTPFileTypes

Specifies the type of this entry, one of the following:

cftFile0
cftDirectory1
cftSymblink2
cftSpecial3
cftUnknown4
cftSocket5
cftCharDevice6
cftBlockDevice7
cftFIFO8

GroupExecute
Boolean

Controls file execution permission for the group users.

GroupRead
Boolean

Controls file read permission for the group users.

GroupWrite
Boolean

Controls file write permission for the group users.

LongName
String?

Contains the long name of the file (human-readable, ftp-like).

MTime
String?

Specifies the last modification time, in UTC.

Name
String?

Specifies the file name.

OtherExecute
Boolean

Controls file execution permission for other users (users that are neither owners, nor belong to the same group).

OtherRead
Boolean

Controls file read permission for other users (users that are neither owners, nor belong to the same group).

OtherWrite
Boolean

Controls file write permission for other users (users that are neither owners, nor belong to the same group).

Owner
String?

Specifies the owner of the file/directory.

Path
String?

Contains the full path to the file.

Size
Long

The size of the file in bytes.

UserExecute
Boolean

Controls file execution permission for the file owner.

UserRead
Boolean

Controls file read permission for the file owner.

UserWrite
Boolean

Controls file write permission for the file owner.

Constructors

public constructor()

Creates a new SFTPListEntry object.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Kotlin Edition - Version 20.0 [Build 8063]