in reply to execute local script on remote machine via ftp & crontab
What you have described is not a Perl problem but you want "a birds eye perspective" so here are two approaches.
* Forget about FTP or telnet.