[PHP] Re: FTP Chmod problem

2005-09-29 Thread Matt Palermo
I'm using 5.0.something. "Al" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Matt Palermo wrote: >> Hello everyone. I have a script where I am using FTP functions to chmod >> files/folders. I'm running into a problem with the ftp_chmod() function >> when trying to change the p

[PHP] Re: FTP Chmod problem

2005-09-06 Thread Al
Matt Palermo wrote: Hello everyone. I have a script where I am using FTP functions to chmod files/folders. I'm running into a problem with the ftp_chmod() function when trying to change the permissions of a directory. Here is the code I'm using: ftp_chmod($connId, 0777, $folder); The func

[PHP] Re: FTP Chmod problem

2005-09-05 Thread Matt Palermo
It doesn't make sense to me that the function would work fine on a file and not work on a directory. Moreover, why would the ftp_site chmod command produce a working result and not the ftp_chmod? This seems strange to me. -Matt "Raj Shekhar" <[EMAIL PROTECTED]> wrote in message news:[EMAI

[PHP] Re: FTP Chmod problem

2005-09-05 Thread Raj Shekhar
"Matt Palermo" <[EMAIL PROTECTED]> writes: > ftp_chmod($connId, 0777, $folder); > > The function almost works, but when I check the permission of the folder > after it's run, the folder has 410 for permissions instead of 777. So, it > is changing the permissions, but not to the correct value.