electron/docs-translations/zh-CN/api/structures/upload-file.md

10 lines
312 B
Markdown
Raw Normal View History

2017-04-07 02:47:52 +00:00
# UploadFile Object
* `type` String - `file`.
* `filePath` String - Path of file to be uploaded.
* `offset` Integer - Defaults to `0`.
* `length` Integer - Number of bytes to read from `offset`.
Defaults to `0`.
* `modificationTime` Double - Last Modification time in
number of seconds sine the UNIX epoch.