gpt4 book ai didi

talend - 来自上下文的 tFTPConnection 设置密码不起作用

转载 作者:行者123 更新时间:2023-12-01 22:51:54 24 4
gpt4 key购买 nike

我正在尝试使用上下文变量设置 Talend Open Studio 的 tFTPConnection 组件的密码,但它不起作用。

我遇到了这个异常:

我尝试过使用上下文加载从文件中读取上下文和直接在作业中使用上下文


Exception in component tFTPConnection_1 (read_file_from_sftp_using_context)
com.jcraft.jsch.JSchException: Auth cancel
at com.jcraft.jsch.Session.connect(Session.java:511)
at com.jcraft.jsch.Session.connect(Session.java:183)
at local_project.read_file_from_sftp_using_context_0_1.read_file_from_sftp_using_context.tFTPConnection_1Process(read_file_from_sftp_using_context.java:2062)
at local_project.read_file_from_sftp_using_context_0_1.read_file_from_sftp_using_context.tFileInputDelimited_3Process(read_file_from_sftp_using_context.java:1776)
at local_project.read_file_from_sftp_using_context_0_1.read_file_from_sftp_using_context.tFileInputDelimited_2Process(read_file_from_sftp_using_context.java:1067)
at local_project.read_file_from_sftp_using_context_0_1.read_file_from_sftp_using_context.runJobInTOS(read_file_from_sftp_using_context.java:2550)
at local_project.read_file_from_sftp_using_context_0_1.read_file_from_sftp_using_context.main(read_file_from_sftp_using_context.java:2345)
[statistics] disconnected

我希望我的连接能正常工作,但是 :(

最佳答案

我找到了包含特殊字符分号 (;) 的密码传递的解决方案。我在读this , 并找到了这条语句:

Note the quotation marks around "noDatetimeStringSync=true" as it contains a Field Separator = character.

我用分号试过了,它对我有用。

也感谢@Mo2s 的支持。

干杯,拉姆

关于talend - 来自上下文的 tFTPConnection 设置密码不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56135618/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com