Reply to Re: creating directories

Your name:

Reply:


Posted by Gale on 04/01/06 14:48

s wrote:
> On Sat, 01 Apr 2006 02:16:46 +0200, Gale <gale@rules.da> wrote:
>
>> I try webadmin.php - a simple Web-based file manager by Daniel Wacker
>> and i get the same problem
>>
>> directories created by FTP have owner: "usernmame" group: ftponly
>> directories created by script has owner: wwwrun group: www
>>
>> when I create directory by script, I have no privilegies to vreate
>> another directory inside the new directory
>>
>> Please help!
>
> Use your FTP program to set the permissions on the target directory to
> 777. Then, your PHP script should be able to create files and
> directories inside. If your FTP program doesn't have a
> chmod/permission option, download WS_FTP.
>
> hth
>
> --
> <s@guerril.la.ape> (to email, remove .ape)
> --
>


I did that on first directory I created in FTP

If I create directory by script I can't set chmod by FTP because it's
diferrent uid.

I'm thinking of using ftp_mkdir()

can I set ftp_chmod() on directories or only on files ?

[Back to original 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

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