Script to ftp in to multiple ip addresses

Hello

Is there an easy way to login to various ip's..one after the other. I need to login to about 30 aix boxes and put a file in each one...

Cheers

create a function for ftp action and call the fucntion with arguments