Permission on sftp

Hi
I want copy file from redhat 6.5 to solaris10 with sftp, but i want any file with any permission auto change to 774 after copy.

Tank-you.

I don't think this can be done with umask. umask can't set executable permissions. If you want it chmoded it, you will have to chmod.