I'm trying to learn how to create a script that can SFTP into a server, issue chmod all directories in 1 specific main directory, and then chmod 1 file (same name across all dir's) in each directory of the main directory. This would be executed manually by a user possibly without shell access. Could somebody throw something out there as a solution or give me a place to start? Thanks!