在FTPS中获取异常(Talend)

时间:2017-04-03 09:46:03

标签: talend

tFTPConnection完美建立

但是当使用tFTPGet时我得到了这个异常

Exception in component tFTPGet_1
it.sauronsoftware.ftp4j.FTPException [code=450, message= TLS session of 
data connection has not resumed or the session does not match the control connection]

1 个答案:

答案 0 :(得分:0)

这是因为您的FTP服务器需要TLS Session Resumption (RFC5077)

不幸的是,ftp4j似乎不支持此功能。由于tFTPGet是这个库的包装器,我认为你无法做些什么来使它工作。

由于ftp4j未处于活动开发状态(目前为the last release is dated 2012),因此我不认为此时会支持此功能。 Talend应该为FTP文件传输选择一个新的库。

如果您可以控制此FTP服务器,则可以将其更改为不需要TLS会话恢复。 FileZilla论坛的这个主题讨论了这一变化的风险:https://forum.filezilla-project.org/viewtopic.php?t=36903

相关问题