当前位置: 首页 > 文档资料 > Electron 中文文档 >

UploadFile 对象

优质
小牛编辑
134浏览
2023-12-01
  • type String - blob.
  • filePath String - 准备上传的文件的路径
  • offset Integer - 默认值 0.
  • length Integer - 从 offset中读取的字节数. 默认值0.
  • modificationTime Double - 最后更新时间,自UNIX时期计时总的秒数表示.

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 since the UNIX epoch.