[ https://issues.apache.org/jira/browse/NET-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb resolved NET-489. ---------------------- Resolution: Invalid The file contains CR and LF which have been mangled. It was probably transferred using ASCII mode; make sure the file is transferred using BINARY mode. > FTPClient corrupts a specific file > ---------------------------------- > > Key: NET-489 > URL: https://issues.apache.org/jira/browse/NET-489 > Project: Commons Net > Issue Type: Bug > Components: FTP > Affects Versions: 3.1 > Environment: CentOS 6.3 (Linux 2.6.32-131.17.1.el6.x86_64) > Oracle Java 1.7 > Reporter: Corby Wilson > Priority: Blocker > Attachments: test-file.bin > > > This very specific file is corrupted on transfer. > It doesn't work for any other file I've tried (about 100 different files). > Hex dump of source file: > 0000000 8b1f 0808 69b3 50aa 0300 6472 5f66 7361 > 0000010 6f73 6c5f 6e69 2e6b 7874 0074 ce3d 11c9 > 0000020 30c0 4308 b3d1 8d5d 8b00 ffa5 92c6 26d8 > 0000030 37d7 0d1f 8d0a da2a 65a0 1608 1ea6 16e1 > 0000040 6755 0e4b 0647 758b 75c5 8037 62fc b457 > 0000050 7c77 527d 61ef b0b6 691b 23a9 76e1 7025 > 0000060 19c4 722d ea9b 627f a72f 7c19 a33e f9a9 > 0000070 c685 0000 0000 > 0000075 > Hexdump of destination file: > 0000000 8b1f 0808 69b3 50aa 0300 6472 5f66 7361 > 0000010 6f73 6c5f 6e69 2e6b 7874 0074 ce3d 11c9 > 0000020 30c0 4308 b3d1 8d5d 8b00 ffa5 92c6 26d8 > 0000030 37d7 0a1f 2a8d a0da 0865 a616 e11e 5516 > 0000040 4b67 470e 8b06 c575 3775 fc80 5762 77b4 > 0000050 7d7c ef52 b661 1bb0 a969 e123 2576 c470 > 0000060 2d19 9b72 7fea 2f62 19a7 3e7c a9a3 85f9 > 0000070 00c6 0000 > 0000074 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira