【问题标题】:Mule SFTP credentialsMule SFTP 凭据
【发布时间】:2013-09-18 00:21:39
【问题描述】:

骡 3.3.1 CE

SFTP 端点似乎在用户名中包含“@”字符存在问题。例如,尽管地址在其他工具中有效,但以下两种方法均失败。

<sftp:outbound-endpoint address="sftp://test04@caqa.com:Test1234@testftpdev.caqa.com" outputPattern="#[function:datestamp].xml"/>

<sftp:outbound-endpoint exchange-pattern="one-way" outputPattern="#[function:datestamp].xml" host="testftpdev.caqa.com" port="22" path="/" user="test04@caqa.com" password="Test1234" responseTimeout="10000"/>

错误信息是:

Error during login to null@null
com.jcraft.jsch.JSchException: username must not be null.
...etc.

尝试使用允许不带“@”的用户名(例如“test04”)的网站似乎可以通过连接器正常工作。

由于我无法控制某些所需目标站点的用户名,是否有人知道解决方法?它需要在 3.3.1 CE 中运行,因为我们还要几个月才能进入 3.4 Enterprise。

【问题讨论】:

    标签: mule sftp


    【解决方案1】:

    您需要对名称和密码进行 URL 编码以应对这种情况。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-03-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-07-08
      • 1970-01-01
      相关资源
      最近更新 更多