Mule SFTP凭证

Mule SFTP凭证,mule,sftp,Mule,Sftp,Mule 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="o

Mule 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"/>
尝试使用一个允许用户名不带“@”(例如,“test04”)的站点似乎可以通过连接器正常工作


由于我无法控制某些所需目标站点的用户名,有人知道解决方法吗?它需要在3.3.1 CE中运行,因为我们在接下来的几个月内将不会进入3.4 Enterprise。

您需要对名称和密码进行URL编码以解决此问题

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