Mule 的 FTP 连接问题

时间:2021-06-11 04:56:50

标签: ftp mule mule4

我在连接用于文件传输的 FTP 路径时收到以下错误 Mulesoft 代码,它工作了这么多天,不幸的是,我们从一个 一对dys。所以请帮我解决这个问题。

错误

Message: An exception was found trying to obtain a connection: Found exception trying to change transfer mode to class org.mule.extension.ftp.api.ftp.FtpTransferMode. FTP reply code is: 421
Element               : ac-ngwtransform-ftp-v1Flow/processors/6/processors/0/route/0/processors/1 @ azx-us-int-ac-ngwtransform-ftp-v1:ac-ngwtransform-ftp-v1.xml:84 (Reading the file from FTP)
Element XML           : <ftp:read doc:name="Reading the file from FTP" doc:id="da9be7af-d84b-4a78-a8ce-cd9f117aa273" config-ref="FTP_Config_NGW" path="#[attributes.fileName]" outputMimeType="text/plain"></ftp:read>
Error type            : FTP:CONNECTIVITY
Payload Type          : org.mule.runtime.core.internal.streaming.bytes.ManagedCursorStreamProvider
--------------------------------------------------------------------------------
Root Exception stack trace:
org.apache.commons.net.ftp.FTPConnectionClosedException: FTP response 421 received.

1 个答案:

答案 0 :(得分:0)

您可以使用重新连接策略来解决此问题。 转到您的 ftp 连接器--> 高级-> 单击重新连接并使重新连接策略成为标准。