Renaming a file name

I have an audit log that is produced each day from a production printer. It names the file using todays date, but it removes the leading zero's. For example: todays date 060104 names the file 6104.txt.

I ftp this file onto a Sun box and pull stats off of it. To keep some consistency to what I am doing I would like to rename the file from 6104.txt to 060104.txt, i.e. inserting zero if the day and month are single digits. Can anyone help me do this, please?

Thanks in advance

Not enough information remains to solve the problem.

011104 becomes 11104
110104 becomes 11104

Given 11104, which choice do we select?

You could name the file as soon as it's created or ftp'd... Assuming it's the only text file in the directory, on ksh:

mv *.txt `date +%d%m%y`.txt