You are here: Re: [PHP] ftp_site problem « PHP « IT news, forums, messages
Re: [PHP] ftp_site problem

Posted by Al on 10/21/87 11:27

cron@odi.com.br wrote:
> 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
>>
>>
Thanks for the conformation Crom.

It looks a virtual server problem. I've got my host's tech support working on it.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация