FTP Script

Anyone know of the existence of a script that can automatically ftp newly downloaded files to AppleTV? I have bittorrent set up with TED. I’d like my Mac to automatically ftp new episodes of my TV shows to my AppleTV when they have finished downloading (so AppleTV would act like a PVR). I could probably figure out how to write one, but thought something out there like this must exist already?

Thanks!
Amanda