I have a shell script with the following ftp code:

Code:
ftp -n $ftpurl <<!
quote user $username
quote pass $password
binary
cd $folders
lcd /home/user
prompt
mget *
quit
!
Is there a way to blacklist certain folders or subfolders it grabs? Or a way to whitelist certain folders for downloading?