Re: [PHP] ftp_site problem

2005-09-23 Thread Al
sday, 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'

Re: [PHP] ftp_site problem

2005-09-22 Thread cron
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" <[EMAIL PROTECTED]> To: Sent: Thursday, September 22, 2005 9:34

[PHP] ftp_site problem

2005-09-22 Thread Al
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.