Automated FTP

Hello,I just know the basics of scripting & I need a script to automate ftp since I use it quite often.
I use ftp to transfer different kind of files and everytime the source & the destination directories are different for transferring files, so can anyone help me out on this urgently..

Have a read of this thread:

Hey Franklin..thanx for your quick response. But that thread doesnt serve my purpose..
Actually, I want to know how if i am using ftp for transferring files b/w two different directories for e.g: I want to transferred file1 from /abc to /def & file2 from /efg to /xyz & so on..how to go about this & incorporate the same in the code...
Please help me out on this..