PutSFTP 2025.10.2.19

捆绑包

org.apache.nifi | nifi-standard-nar

描述

将 FlowFiles 发送到 SFTP 服务器

标签

archive、copy、egress、files、put、remote、sftp

输入要求

REQUIRED

支持敏感的动态属性

false

属性

属性

描述

算法协商

SSH 算法协商的配置策略

批处理大小

单个连接中可发送的最大 FlowFiles 数量

允许的密码

A comma-separated list of Ciphers allowed for SFTP connections. Leave unset to allow all. Available options are: 3des-cbc, aes128-cbc, aes128-ctr, aes128-gcm@openssh.com, aes192-cbc, aes192-ctr, aes256-cbc, aes256-ctr, aes256-gcm@openssh.com, arcfour128, arcfour256, blowfish-cbc, chacha20-poly1305@openssh.com, none

冲突解决

确定如何处理文件名冲突问题

连接超时

创建连接时在超时之前要等待的时间

创建目录

指定如果远程目录不存在,是否要创建该目录。

数据超时

在本地和远程系统之间传输文件时,此值规定了系统间无数据传输的最长允许间隔时间

禁用目录列表

如果设为“true”,则在创建缺失目录前不执行目录列表操作。默认情况下,此处理器会执行目录列表命令以检查目标目录是否存在,然后再创建缺失目录。但是,在某些情况下,您可能需要禁用目录列表,如下所示。在目录上进行某些权限设置(例如 chmod 100)时,目录列表可能会失败。此外,如果任何其他 SFTP 客户端在该处理器执行了列表操作之后以及该处理器的目录创建请求完成之前创建了该目录,则会返回错误,因为该目录已经存在。

点重命名

如果为 true,则发送文件的文件名以“.”开头,然后在文件完全发送后重命名为原始名称。否则,不会重命名。如果设置了临时文件名属性,则忽略此属性。

主机密钥文件

如果提供,则给定文件将用作主机密钥;否则,如果应用“严格主机密钥检查”属性(设为 true),则使用 ~/.ssh 目录中的“known_hosts”和“known_hosts2”文件,否则将不使用任何主机密钥文件

主机名

远程系统的完全限定主机名或 IP 地址

允许的密钥算法

A comma-separated list of Key Algorithms allowed for SFTP connections. Leave unset to allow all. Available options are: ecdsa-sha2-nistp256, ecdsa-sha2-nistp256-cert-v01@openssh.com, ecdsa-sha2-nistp384, ecdsa-sha2-nistp384-cert-v01@openssh.com, ecdsa-sha2-nistp521, ecdsa-sha2-nistp521-cert-v01@openssh.com, rsa-sha2-256, rsa-sha2-256-cert-v01@openssh.com, rsa-sha2-512, rsa-sha2-512-cert-v01@openssh.com, sk-ecdsa-sha2-nistp256@openssh.com, sk-ssh-ed25519@openssh.com, ssh-dss, ssh-dss-cert-v01@openssh.com, ssh-ed25519, ssh-ed25519-cert-v01@openssh.com, ssh-rsa, ssh-rsa-cert-v01@openssh.com

允许的密钥交换算法

A comma-separated list of Key Exchange Algorithms allowed for SFTP connections. Leave unset to allow all. Available options are: curve25519-sha256, curve25519-sha256@libssh.org, curve448-sha512, diffie-hellman-group-exchange-sha1, diffie-hellman-group-exchange-sha256, diffie-hellman-group1-sha1, diffie-hellman-group14-sha1, diffie-hellman-group14-sha256, diffie-hellman-group15-sha512, diffie-hellman-group16-sha512, diffie-hellman-group17-sha512, diffie-hellman-group18-sha512, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, mlkem1024nistp384-sha384, mlkem768nistp256-sha256, mlkem768x25519-sha256, sntrup761x25519-sha512, sntrup761x25519-sha512@openssh.com

上次修改时间

The lastModifiedTime to assign to the file after transferring it. If not set, the lastModifiedTime will not be changed. Format must be yyyy-MM-dd 'T'HH:mm:ssZ. You may also use expression language such as ${file.lastModifiedTime}. If the value is invalid, the processor will not be invalid but will fail to change lastModifiedTime of the file.

允许的消息身份验证代码

A comma-separated list of Message Authentication Codes allowed for SFTP connections. Leave unset to allow all. Available options are: hmac-md5, hmac-md5-96, hmac-sha1, hmac-sha1-96, hmac-sha1-etm@openssh.com, hmac-sha2-256, hmac-sha2-256-etm@openssh.com, hmac-sha2-512, hmac-sha2-512-etm@openssh.com

密码

用户账户的密码

权限

传输文件后分配给文件的权限。格式必须是 UNIX rwxrwxrwx,用 - 代替拒绝的权限(例如 rw-r--r--),或八进制数字(例如 644)。如果未设置,则权限不会更改。您也可以使用表达式语言,例如 ${file.permissions}。如果该值无效,则处理器不会无效,但无法更改文件的权限。

端口

远程系统正在其上监听文件传输的端口

私钥密码

私钥的密码

私钥路径

私钥文件的完全限定路径

拒绝零字节文件

确定是否应在不尝试传输的情况下拒绝零字节文件

远程组

整数值,表示传输文件后要在文件上设置的组 ID。如果未设置,则不会设置组。您还可以使用表达式语言,例如 ${file.group}。如果该值无效,则处理器不会无效,但无法更改文件的组。

远程所有者

整数值,表示传输文件后要在文件上设置的用户 ID。如果未设置,则不会设置所有者。您还可以使用表达式语言,例如 ${file.owner}。如果该值无效,则处理器不会无效,但无法更改文件的所有者。

远程路径

远程系统上用于提取或推送文件的路径

发送保持在线超时

每 5 秒发送一条保持在线消息,最多 5 次,总超时时间为 25 秒。

严格的主机密钥检查

表示是否应严格执行主机密钥

临时文件名

如果设置,则发送文件的文件名将等于传输期间指定的值,成功完成后将重命名为原始文件名。如果设置了此值,则忽略点重命名属性。

使用压缩

表示传输文件时是否应使用 ZLIB 压缩

用户名

用户名

proxy-configuration-service

指定代理配置控制器服务来代理网络请求。

关系

名称

描述

failure

无法发送到远程系统的 FlowFiles;failure 通常会返回到这个处理器

reject

被目标系统拒绝的 FlowFiles

success

成功发送的 FlowFiles 将路由到 success

另请参阅

语言: 中文