hvle Posted May 9, 2006 Share Posted May 9, 2006 I've encounted a strange behaviour:my script is in this path:/home/user/public_html/admin/admin_func.phpwhich change mod a file name /home/user/public_html/au/adelaide/index_en.html to 0777when I used a relative path like below:ftp_site($ftp_conn, "CHMOD 0777 ../au/adelaide/index_en.html");this works fine.however if I have:ftp_site($ftp_conn, "CHMOD 0777 /home/user/public_html/au/adelaide/index_en.html");I got the error below----------------Warning: ftp_site(): Could not change perms on /home/user/public_html/au/adelaide/index_en.html: No such file or directory in /home/user/public_html/admin/admin_func.php on line 12----------------Please help!!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.