Pattern matching to download directories by using wget

Aishwarya

Guest

Hi all,
I am using wget to download some FTP files from a link and I want to extract subdirectories containing the characters 'CD' from , is there an option for pattern matching of directories with wget , because I am aware of pattern matching for files not for directories.
Thanks in advance