轻流OA icon

轻流OA

轻流OA API集成,支持通讯录、任务委托、应用管理、数据操作等功能

其他 → 上传单个文件

AI-generated

Summary

Upload a single binary file to the Qingflow OA platform by specifying the binary data field and the file name.

Inputs

  • Binary Property (required) — Name of the binary data field in the input that contains the file to upload. The file must be single and not exceed 50MB.
  • File Name — Name of the file to be uploaded, including extension. If left blank, the file name from the binary data will be used; if that is also missing, 'file.bin' will be used.
  • Options — Additional options for the request, including timeout in milliseconds for waiting for the server response (0 means no timeout).

Output shape

a single list of items each representing the upload response for an input item

Supports batch execution. If upload succeeds, returns data constructed from the API's response. If errors occur, error data may be returned per item depending on the node's configuration for error handling.

Examples

Example 1: Uploading a single file from upstream binary data

Set 'Binary Property' to match the upstream node's Binary output field name (default 'data'), optionally specify a 'File Name' or leave empty to use the binary's filename, and optionally set a timeout.

Links

Discussion