DeleteSFTP 2025.5.31.15

捆绑包

org.apache.nifi | nifi-standard-nar

描述

删除 SFTP 服务器上驻留的文件。

标签

delete、remote、remove、sftp

输入要求

REQUIRED

支持敏感的动态属性

false

属性

属性

描述

批处理大小

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

允许的密码

允许用于 SFTP 连接的密码列表(以逗号分隔)。留空则允许所有。可用选项包括:3des-cbc、3des-ctr、aes128-cbc、aes128-ctr、aes128-gcm@openssh.com、aes192-cbc、aes192-ctr、aes256-cbc、aes256-ctr、aes256-gcm@openssh.com、arcfour、arcfour128、arcfour256、blowfish-cbc、blowfish-ctr、cast128-cbc、cast128-ctr、chacha20-poly1305@openssh.com、idea-cbc、idea-ctr、serpent128-cbc、serpent128-ctr、serpent192-cbc、serpent192-ctr、serpent256-cbc、serpent256-ctr、twofish-cbc、twofish128-cbc、twofish128-ctr、twofish192-cbc、twofish192-ctr、twofish256-cbc、twofish256-ctr

连接超时

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

数据超时

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

目录路径

待删除文件所在的目录路径。

文件名

待删除文件的名称。

主机密钥文件

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

主机名

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

允许的密钥算法

允许用于 SFTP 连接的密钥算法列表(以逗号分隔)。留空则允许所有。可用选项包括: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-512、ssh-dss、ssh-dss-cert-v01@openssh.com、ssh-ed25519、ssh-ed25519-cert-v01@openssh.com、ssh-rsa、ssh-rsa-cert-v01@openssh.com

允许的密钥交换算法

允许用于 SFTP 连接的密钥交换算法列表(以逗号分隔)。留空则允许所有。可用选项包括:curve25519-sha256、curve25519-sha256@libssh.org、diffie-hellman-group-exchange-sha1、diffie-hellman-group-exchange-sha256、diffie-hellman-group1-sha1、diffie-hellman-group14-sha1、diffie-hellman-group14-sha256、diffie-hellman-group14-sha256@ssh.com、diffie-hellman-group15-sha256、diffie-hellman-group15-sha256@ssh.comdiffie-hellman-group15-sha384@ssh.com、diffie-hellman-group15-sha512、diffie-hellman-group16-sha256、diffie-hellman-group16-sha384@ssh.com、diffie-hellman-group16-sha512、diffie-hellman-group16-sha512@ssh.com、diffie-hellman-group17-sha512、diffie-hellman-group18-sha512、diffie-hellman-group18-sha512@ssh.com、ecdh-sha2-nistp256、ecdh-sha2-nistp384、ecdh-sha2-nistp521、ext-info-c

允许的消息身份验证代码

允许用于 SFTP 连接的消息身份验证代码列表(以逗号分隔)。留空则允许所有。可用选项包括:hmac-md5、hmac-md5-96、hmac-md5-96-etm@openssh.comhmac-md5-etm@openssh.com、hmac-ripemd160、hmac-ripemd160-96、hmac-ripemd160-etm@openssh.comhmac-ripemd160@openssh.com、hmac-sha1、hmac-sha1-96、hmac-sha1-96@openssh.comhmac-sha1-etm@openssh.com、hmac-sha2-256、hmac-sha2-256-etm@openssh.com、hmac-sha2-512、hmac-sha2-512-etm@openssh.com

密码

用户账户的密码

端口

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

私钥密码

私钥的密码

私钥路径

私钥文件的完全限定路径

发送保持在线超时

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

严格的主机密钥检查

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

使用压缩

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

用户名

用户名

proxy-configuration-service

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

关系

名称

描述

failure

无法删除现有文件的所有 FlowFiles 都将路由到此关系

not found

要删除的文件不存在的所有 FlowFiles 都将路由到此关系

success

已删除现有文件的所有 FlowFiles 都将路由到此关系

用例

仅在处理完毕后才删除源文件

语言: 中文