Legacy! : This is a very old post transfered from my previous blog. Information presented here may or may not be true! If there is interest in the topic let me know so i'll update it :-)

Sometimes  using FTP is the only way to transfer files off or to a web server. As  you may already know its impossible to recursively transfer all files  using a command line client such as “ftp”.  A great solution to this  problem is to use wget with the -m (mirror) parameter. Wget supports the  ftp protocol as well as authentication. For example, to recursively  copy all contents of a folder to the local folder you would do the  following:

```wget -m ftp://account:[email protected]/pathtofolder/*```

This command will mirror the entire remote folder structure and files to the local and current path.