FileProperty interface

File properties.

Properties

changeTime
contentLength

Content length of the file. This value may not be up-to-date since an SMB client may have modified the file locally. The value of Content-Length may not reflect that fact until the handle is closed or the op-lock is broken. To retrieve current property values, call Get File Properties.

creationTime
etag
lastAccessTime
lastModified
lastWriteTime

Property Details

changeTime

changeTime?: Date

Property Value

Date

contentLength

Content length of the file. This value may not be up-to-date since an SMB client may have modified the file locally. The value of Content-Length may not reflect that fact until the handle is closed or the op-lock is broken. To retrieve current property values, call Get File Properties.

contentLength: number

Property Value

number

creationTime

creationTime?: Date

Property Value

Date

etag

etag?: string

Property Value

string

lastAccessTime

lastAccessTime?: Date

Property Value

Date

lastModified

lastModified?: Date

Property Value

Date

lastWriteTime

lastWriteTime?: Date

Property Value

Date