Croway opened a new pull request, #30041: URL: https://github.com/apache/camel/pull/30041
JIRA: [CAMEL-26984](https://issues.apache.org/jira/browse/CAMEL-26984) - commons-net returns an empty listing, without an exception, when the server refuses the data connection (e.g. `501 PORT is disabled.` in active mode) or the `LIST` command, so the FTP consumer polled "nothing" forever and logged nothing. - `FtpOperations.listFiles()` / `listFiles(path)` now fail with a `GenericFileOperationFailedException` (reply code and text, plus a `passiveMode=true` hint in active mode) when the listing is empty and the server did not complete it. 450 and 550 (missing or empty directory) still give an empty listing. - One line in the FAQ of the FTP component page (and its catalog copy). Tests: `FtpConsumerActiveModeRefusedIT` (embedded server with active mode disabled: the poll fails with code 501; passive mode consumes the file). Upgrade guide: 4.24, "camel-ftp - a directory listing the server refuses fails the poll". _Claude Code on behalf of Federico Mariani_ -- 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]
