in reply to recursive ftp client

You can explore realization of FTPSync.pl,
is a PERL script to synchronize a local directory tree and a remote FTP directory tree.
http://ossw.ibcl.at/FTPSync/