构建工作流

Binaryfile

binaryFile.directory

Description: The path to the directory that the file is stored in. Useful for distinguishing between files with the same name in different directories. Not set if n8n is configured to store files in its database.

Syntax: binaryFile.directory

Returns: String

Source: Custom n8n functionality

binaryFile.fileExtension

Description: The suffix attached to the filename (e.g. txt)

Syntax: binaryFile.fileExtension

Returns: String

Source: Custom n8n functionality

binaryFile.fileName

Description: The name of the file, including extension

Syntax: binaryFile.fileName

Returns: String

Source: Custom n8n functionality

binaryFile.fileSize

Description: A string representing the size of the file

Syntax: binaryFile.fileSize

Returns: String

Source: Custom n8n functionality

binaryFile.fileType

Description: A string representing the type of the file, e.g. image. Corresponds to the first part of the MIME type.

Syntax: binaryFile.fileType

Returns: String

Source: Custom n8n functionality

binaryFile.id

Description: The unique ID of the file. Used to identify the file when it is stored on disk or in a storage service such as S3.

Syntax: binaryFile.id

Returns: String

Source: Custom n8n functionality

binaryFile.mimeType

Description: A string representing the format of the file’s contents, e.g. image/jpeg

Syntax: binaryFile.mimeType

Returns: String

Source: Custom n8n functionality

官方原文和授权

本页来自 N8N 英文官方网站固定快照,并转换成 xueai 静态页面。内容以 N8N 持续更新的官方页面为准。

来源、授权与修改

本站保留许可证、固定提交号、社区作者和修改说明,不代表 n8n 对本站背书。

查看许可证查看来源和修改说明