777 is highly unsecure. Can you give more details as to the setup? I think you might be able to just get away with default (755) or even just 775.
[quote]I don’t think FTP can do it.
only telnet does. however, dreamhost doesn’t allow me telnet[/quote]
/nod, no telnet. Telnet sucks. Use SSH.