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

10 lines
363 B
Markdown
Raw Permalink Normal View History

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