[英]couldn't able to write a File in FTP from Mulesoft Cloudhub
Getting the below error while trying to connect to FTP from Cloudhub.尝试从 Cloudhub 连接到 FTP 时出现以下错误。
Found exception trying to obtain path /XX/XXXX/XXXXXXX_20200721151112.dat.试图获取路径 /XX/XXXX/XXXXXXX_20200721151112.dat 时发现异常。 Ftp reply code: 150. Ftp reply string: 150 Opening ASCII mode data connection for file list
Ftp 回复代码:150。 Ftp 回复字符串:150 打开文件列表的ASCII模式数据连接
Below are my FTP configuration and logs of FTP.下面是我的FTP配置和FTP的日志。
<ftp:config name="FTP_Config-yrbk-deposits-ftp"
doc:name="FTP Config" doc:id="79692e72-be49-428b-87cd-2522c3ca0aa6" >
<ftp:connection
workingDir="${yrbk-deposits-ftp.directory}"
host="${yrbk-deposits-ftp.host}"
port="${yrbk-deposits-ftp.port}"
username="${yrbk-deposits-ftp.user}"
password="${secure::yrbk-deposits-ftp.password}"
controlEncoding="UTF-8"
transferMode="ASCII"
connectionTimeout="5">
<reconnection >
<reconnect frequency="5000" count="3" />
</reconnection>
<pooling-profile minEvictionMillis="60000" evictionCheckIntervalMillis="60000" />
</ftp:connection>
</ftp:config>
The error 150 indicates that a PASV (passive) command was missed.错误 150 表示丢失了 PASV(被动)命令。 Try setting the passive="true" attribute in the FTP connector configuration.
尝试在 FTP 连接器配置中设置 passive="true" 属性。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.