DeleteSFTP 2025.10.2.19¶
捆绑包¶
org.apache.nifi | nifi-standard-nar
描述¶
删除 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),则使用 ~/.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 |
允许的消息身份验证代码 |
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 |
密码 |
用户账户的密码 |
端口 |
远程系统正在其上监听文件传输的端口 |
私钥密码 |
私钥的密码 |
私钥路径 |
私钥文件的完全限定路径 |
发送保持在线超时 |
每 5 秒发送一条保持在线消息,最多 5 次,总超时时间为 25 秒。 |
严格的主机密钥检查 |
表示是否应严格执行主机密钥 |
使用压缩 |
表示传输文件时是否应使用 ZLIB 压缩 |
用户名 |
用户名 |
proxy-configuration-service |
指定代理配置控制器服务来代理网络请求。 |
关系¶
名称 |
描述 |
|---|---|
failure |
无法删除现有文件的所有 FlowFiles 都将路由到此关系 |
not found |
要删除的文件不存在的所有 FlowFiles 都将路由到此关系 |
success |
已删除现有文件的所有 FlowFiles 都将路由到此关系 |
用例¶
仅在处理完毕后才删除源文件 |