joewitt commented on a change in pull request #5057:
URL: https://github.com/apache/nifi/pull/5057#discussion_r668296016
##########
File path:
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/FTPTransfer.java
##########
@@ -606,7 +606,7 @@ private FTPClient getClient(final FlowFile flowFile) throws
IOException {
client.setAutodetectUTF8(useUtf8Encoding);
}
- client.connect(inetAddress,
ctx.getProperty(PORT).evaluateAttributeExpressions(flowFile).asInteger());
+ client.connect(remoteHostName,
ctx.getProperty(PORT).evaluateAttributeExpressions(flowFile).asInteger());
Review comment:
I'm not sure. But if we dont need that code at this point it can/should
be removed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]