Often times you may want to create a script to copy, move or grab files from your AIX machine to a Windows (or other) box. In some cases, there may a shared Windows drive created office wide and you would like to dump system information or reporting here. If ssh is not supported on the other end, you will need to use FTP.
Here is a quick script to move files from your AIX box to your Windows share.
ftp -n <<-EOF
user username password