Header menu logo fable-electron-docs-api

UploadFile Type

Constructors

Constructor Description

UploadFile(type, filePath, ?offset, ?length, ?modificationTime)

Full Usage: UploadFile(type, filePath, ?offset, ?length, ?modificationTime)

Parameters:
    type : string - file.
    filePath : string - Path of file to be uploaded.
    ?offset : int - Defaults to 0.
    ?length : int - Number of bytes to read from offset. Defaults to 0.
    ?modificationTime : double - Last Modification time in number of seconds since the UNIX epoch. Defaults to 0.

Returns: UploadFile
type : string

file.

filePath : string

Path of file to be uploaded.

?offset : int

Defaults to 0.

?length : int

Number of bytes to read from offset. Defaults to 0.

?modificationTime : double

Last Modification time in number of seconds since the UNIX epoch. Defaults to 0.

Returns: UploadFile

Instance members

Instance member Description

this.filePath

Full Usage: this.filePath

Path of file to be uploaded.

this.length

Full Usage: this.length

Number of bytes to read from offset. Defaults to 0.

this.modificationTime

Full Usage: this.modificationTime

Last Modification time in number of seconds since the UNIX epoch. Defaults to 0.

this.offset

Full Usage: this.offset

Defaults to 0.

this.type

Full Usage: this.type

file.

Type something to start searching.