"apt-get install lftp" or "apt-get install lftp-ssl", i compiled it myself from lftp.yar.ru
connect to your ftp and do:
mirror -R <the local dirname>
this will upload the whole directory.
connect to your ftp and do:
mirror -R <the local dirname>
this will upload the whole directory.