how can i chmod folder within directory it lets me chmod individual files but not folder i need that to install gallery in vbadvanced folder modules have to be chmod to 777 im unable to do it im using my primary ftp user and smartftp

chmod -R 777 folder

The -R flag should recursively chmod all files and subfolders within the folder.