writing a script

Dear Madam/Sir

Who can help me with writing a script doing the following?
1- Read names of files (only files with special name format let say initially they have the same file name start like TT*)
2- Then create an empty files with the same names have been read in step one but with extension *.lock
3-send files have been read in step (1)(using FTP) to exact destination fixed IP address.
4- Send files created in step 2 in the same destination.
5-move files have been read in step 1 into another directory (archiving)
6- Archive files have been created in step 2 (same as point 5.
7-scheduling this script to be done twice a day because new files have been generated again.

Please, don't double-post - thread closed!