Scripts to move files via FTP with error checking

Hi Members,

Can members please advise or suggest how to write UNIX script which
move all zip files in source directory and when done delete zip files from source directory? We want to delete only on successful transfer to the destination. secondly want to add some error checking if the FTP fails due to any reason.

Please advise me how to start.

Thanks,

ftp is very dumb. It's hard to error check and hard to automate. Is scp available?