Hi I am generating a bunch (sometimes 1000s) of files which are numerically numbered: 1.xml, 2.xml, 3.xml ...
When I sort by filename in Windoes explorer/Web server they appear in correct number order. I want to process them in this order: 1,2,3 etc. When I start to collected process them using camel ftp, and sortBy=file:name they are processed in the order 1.xml, 10.xml, 100.xml, 101.xml, 102.xml How can I get Camel or the ftp server to sort the files in numerical order? I thought of adding 0s to the front of the filenames, though this could get rather clumsy in my script which generates them! This is running on ServiceMix 5.1.1, Camel 2.13.2 Thanks James -- View this message in context: http://camel.465427.n5.nabble.com/sortBy-file-name-for-numerically-named-files-tp5785862.html Sent from the Camel - Users mailing list archive at Nabble.com.
