Re: ftp_site problem

From: Date: Sat, 24 Sep 2005 03:31:25 +0000
Subject: Re: ftp_site problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-223049@lists.php.net to get a copy of this message
try:
if(ftp_site($conn_id, "SITE chmod 0777 /public_html/EditPage/cd_ef_W.txt")) echo 'successful'; else 'failed';
it works for me Crom ----- Original Message ----- From: "Al" <news@ridersite.org> To: <php-general@lists.php.net> Sent: Thursday, September 22, 2005 9:34 PM Subject: [PHP] ftp_site problem
I can't get ftp_site() to chmod a file. WS_FTP utility changes them OK. I can connect and log-in via ftp OK Then I send if(ftp_site($conn_id, "chmod 0777 /public_html/EditPage/cd_ef_W.txt")) echo 'successful'; else 'failed'; And get "successful" OK But, the file's permissions don't change. Have tried "777" as well as "0777". Any suggestions? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#223049) next »