CopyFileSmbInfo interface

Parameter group

Properties

fileAttributes

Specifies either the option to copy file attributes from a source file(source) to a target file or a list of attributes to set on a target file.

fileChangeTime

Specifies either the option to copy file last write time from a source file(source) to a target file or a time value in ISO 8601 format to set as last write time on a target file.

fileCreationTime

Specifies either the option to copy file creation time from a source file(source) to a target file or a time value in ISO 8601 format to set as creation time on a target file.

fileLastWriteTime

Specifies either the option to copy file last write time from a source file(source) to a target file or a time value in ISO 8601 format to set as last write time on a target file.

filePermissionCopyMode

Specifies the option to copy file security descriptor from source file or to set it using the value which is defined by the header value of x-ms-file-permission or x-ms-file-permission-key.

ignoreReadOnly

Specifies the option to overwrite the target file if it already exists and has read-only attribute set.

setArchiveAttribute

Specifies the option to set archive attribute on a target file. True means archive attribute will be set on a target file despite attribute overrides or a source file state.

Property Details

fileAttributes

Specifies either the option to copy file attributes from a source file(source) to a target file or a list of attributes to set on a target file.

fileAttributes?: string

Property Value

string

fileChangeTime

Specifies either the option to copy file last write time from a source file(source) to a target file or a time value in ISO 8601 format to set as last write time on a target file.

fileChangeTime?: string

Property Value

string

fileCreationTime

Specifies either the option to copy file creation time from a source file(source) to a target file or a time value in ISO 8601 format to set as creation time on a target file.

fileCreationTime?: string

Property Value

string

fileLastWriteTime

Specifies either the option to copy file last write time from a source file(source) to a target file or a time value in ISO 8601 format to set as last write time on a target file.

fileLastWriteTime?: string

Property Value

string

filePermissionCopyMode

Specifies the option to copy file security descriptor from source file or to set it using the value which is defined by the header value of x-ms-file-permission or x-ms-file-permission-key.

filePermissionCopyMode?: PermissionCopyModeType

Property Value

ignoreReadOnly

Specifies the option to overwrite the target file if it already exists and has read-only attribute set.

ignoreReadOnly?: boolean

Property Value

boolean

setArchiveAttribute

Specifies the option to set archive attribute on a target file. True means archive attribute will be set on a target file despite attribute overrides or a source file state.

setArchiveAttribute?: boolean

Property Value

boolean