I tried to use ftp_chmod function in php, but i got this kind of error, and i tried lots of way that i got in the internet its still not working.
I got this error warning
Warning: ftp_chmod(): 'SITE': command not understood in C:\xampp\htdocs \gcc_cems\ftpup load.php on line 23
heres my code
SOmeone knows this function?
I got this error warning
Warning: ftp_chmod(): 'SITE': command not understood in C:\xampp\htdocs \gcc_cems\ftpup load.php on line 23
heres my code
Code:
if (ftp_chmod($connect, "0777", "CCTV/".$filename) !== false) {
echo "chmoded successfully";
} else {
echo "could not chmod";
}
Comment