Forum Moderators: coopster
ftp_site($conn, 'CHMOD 0644 /path/to/dir');
CHMODing a file using the same code doesn't work:
ftp_site($conn, 'CHMOD 0644 /path/to/dir/file.txt');
I get the error:
Warning: ftp_site() [function.ftp-site]: /path/to/dir/file.txt: Operation not permitted in /home/httpd/vhosts/file.php on line 100
I don't know why, does anyone else?