Hi there, There seems to be an issue with the regexp in this class. As can be seen below when the modified date is from a previous year, the listing contains two spaces before the filename instead of 1. This results in OS400FTPEntryParser setting the name with a leading space.
Raw listing: "-rwxrwxrwx 1 TLXDRIVER 0 1592686 Jul 14 15:46 cloudfax.jar" FTPFile.getName() = "cloudfax.jar" Raw listing: "-rwxrwxrwx 1 TLXDRIVER 0 27432520 Apr 24 2025 itextpdf-5.2.1.jar" FTPFile.getName() = " itextpdf-5.2.1.jar" Raw listing: "-rwxrwxrwx 1 TLXDRIVER 0 5634374 Apr 24 2025 jt400.jar" FTPFile.getName() = " jt400.jar" Raw listing: "-rwxrwxrwx 1 TLXDRIVER 0 660167 Apr 24 2025 mail.jar" FTPFile.getName() = " mail.jar" Raw listing: "-rwxrwxrwx 1 TLXDRIVER 0 210027 Sep 08 2023 zip4j-2.11.5.jar" FTPFile.getName() = " zip4j-2.11.5.jar" Kind regards Matt Pryor Research and Development Manager The International Presence Group of Companies EMAIL: [email protected] URL: www.International-presence.com
