electron/docs/api/structures/upload-file.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
363 B
Markdown
Raw Normal View History

2016-11-14 22:54:16 +00:00
# UploadFile Object
2016-10-12 18:05:35 +00:00
* `type` 'file' - `file`.
* `filePath` string - Path of file to be uploaded.
2023-03-27 17:00:55 +00:00
* `offset` Integer (optional) - Defaults to `0`.
* `length` Integer (optional) - Number of bytes to read from `offset`.
2016-10-12 18:05:35 +00:00
Defaults to `0`.
2023-03-27 17:00:55 +00:00
* `modificationTime` Double (optional) - Last Modification time in
number of seconds since the UNIX epoch. Defaults to `0`.