Uploading files in chronological order

Thanks for your help.

Your question is not clear, perhaps you could elaborate your question a bit.
How does your current script look like and where do you get stuck?

Regards

Try something like this:

for file in `ls -t $DIR`;
do
cat $file >> outfile.txt
done

Where $DIR is the directory containing your files.

the "-t" option for ls will show your files, newest first.
if you use -t with -r, it will reverse it by showing oldest files first.

Thanks !!!