Well you don't say that there is strictly the need to use a command in the terminal in order to do the work so I guess what you wish is some terminal software which can handle ftp servers, such as a ftp client gui but for terminal purposes.
If I am right, I suggest you to give a chance to Midnight Commander. Inside of which you will be able to connect to a ftp server in order to put or get files the same as folders (with files recursively).
Certain ftp server commands are allowed, such as the chmod for changing the permissions of the files/folders and there is the help of a dual tree window in which you can handle the contents of both your local device and remote server.
Here is a screenshot to illustrate:

This screenshots are taken in a unity desktop (12.04) but the same screens you'll find in terminal mode. Here is a step by step process in order to connect to a ftp. (Mouse supported only in GUI)
First let's hit F9 in order to get in the PullDown Menu. Let's go to the "Left" menu and choose "FTP Link" as shown.

The machine name will be asked, let's write in this box using the next format:
user:password@ftpserver.com
This will send your username and password to the desired ftp server. If everything runs ok you'll be able to see the contents of your ftp server on the left side of the Midnight Commander windows.

If you succeeded, let's hit the TAB window in order to move the pointer to the right pane, in which you can choose which files/folders (with files) you wish to copy, move, delete, etc. You may wish to read the manual before using midnight commander but it is quite easy to use indeed.
Midnight commander is a powerful application that can be installed directly from the terminal using the next command:
sudo apt-get install mc
Good luck!