1) That's up to your
FTP program, try using SecureFX you can download it for free on vandyke.com
2) That's not really a script question either. You are probably going to have to change the rights of the files, I usually just use "chmod" on the files to the appropriate value when necessary (might wanna Google on that) in the linux commando prompt.
chmod 777 FILENAME will do the trick but perhaps someone else has better solutions.
As I said your questions aren't really about being a script expert but yes PHP is a language (
www.php.net).
