squonk
Member
Hi all, I have a problem with a C BSFN thats reads certain TXT files in a particular directory, process them and move them to another as a backup.
There's no problem about all that 'cause evereything is working perfectly, but now our customer wants the process to be able to read the files in certain order, by date of modification, ascending, meaning that the first file has to be the oldest.
I haven't found anything in C about sorting files in a folder. In addition, the BSFN has to be able to work with both AS400/Unix and Windows server environments.
I would apreciate very much if anyone can help me. I don't even know for sure if its possible to do it.
Thanks a lot!
There's no problem about all that 'cause evereything is working perfectly, but now our customer wants the process to be able to read the files in certain order, by date of modification, ascending, meaning that the first file has to be the oldest.
I haven't found anything in C about sorting files in a folder. In addition, the BSFN has to be able to work with both AS400/Unix and Windows server environments.
I would apreciate very much if anyone can help me. I don't even know for sure if its possible to do it.
Thanks a lot!