retsdarb
6-7-02, 04:13 PM
I have read several posts regarding ftp and chmod and I know that the *.php file must be set with 755 permissions.
If I set the permissions locally to 755 and then upload the file, they get changed to 644. Actually, all files in my */htdocs directory have 644 permissions.
I have read several posts about using ftp tool <whatever> and it will do it for you. OK, call me stupid, but those tools are just guis that will enter all the command line stuff for you with button clicks. What is the actual ftp syntax?
For example, in Solaris, the command is simply "chmod 755 php_test.php"
However, from an ftp prompt, I can find no way to set the permissions of remote files! :( Please help.
Brad Johnson
If I set the permissions locally to 755 and then upload the file, they get changed to 644. Actually, all files in my */htdocs directory have 644 permissions.
I have read several posts about using ftp tool <whatever> and it will do it for you. OK, call me stupid, but those tools are just guis that will enter all the command line stuff for you with button clicks. What is the actual ftp syntax?
For example, in Solaris, the command is simply "chmod 755 php_test.php"
However, from an ftp prompt, I can find no way to set the permissions of remote files! :( Please help.
Brad Johnson