in reply to Re: Moving folders using FTP
in thread Moving folders using FTP

An alternative approach (a bit hard to do programmatically) if you have a shell account on the target

Well, this actually is not hard at all to do programmatically; check out this reply to an older thread about simplifying tar transfers between machines. It assumes that ssh is available on both machines, and shows the case were you want to pull data from a remote host to the local host, but other approaches (and the other directionality) are possible.