I need to design a program so that it can download the files and folders in a specifiec default folder from the FTP site. Now I can achieve to download the first level of files but I don't know how to make it possbile for the subfolders.

Can anyone help me or any idea? Thank you very much in advanced.