Very Urgent help required in Shell Program

How do I Ftp, and rename multiple files in one unix script. I have to send it with .tmp extension , then rename it to .txt after FTP is done . I need to do a Mass rename of more than 1 file in a shell script , Urgent help required.

If it is very urgent, you should try a Google search too.
http://www.npl.washington.edu/faq/unix-FAQ-2-6.html