rejetto forum

Software => HFS ~ HTTP File Server => Programmers corner => Topic started by: kaler on August 21, 2009, 11:38:48 AM

Title: delet files controlled;)
Post by: kaler on August 21, 2009, 11:38:48 AM
Hi @ all...

i want a litle code, which will list all files in a folder, and than you can delet them ( or one)
But that should only be, if there is one spezial user ( admin)

how can i make it real?
Title: Re: delet files controlled;)
Post by: maverick on August 21, 2009, 03:20:16 PM
"Delete" is already implemented.  You must use a recent beta version of HFS.


Title: Re: delet files controlled;)
Post by: Mars on August 21, 2009, 07:45:16 PM
Have a look of the highly-rated of the permissions of folder

right-click on vfs -->properties-->permissions---> delete

Choose what will be the accounts authorized to delete files, not to forget that in the case of the real folders, the subfolders inherit authorizations
Title: Re: delet files controlled;)
Post by: kaler on August 23, 2009, 07:35:11 AM
ok thanks..

its so simple i thought that i must write a script ;)
Title: Re: delet files controlled;)
Post by: PeterPk on September 11, 2009, 07:42:55 AM
Hi
for me is not clear where is the function delete in hfs
On my tree vfs there is not any kind of menu delete.

I have 2.2f build 155 version

 
Title: Re: delet files controlled;)
Post by: kaler on September 11, 2009, 07:44:28 AM
in hfs there is a menu...

but i don't know what you mean exactly...

when you have open the Window of HFS, then you can delet manual files and folder-..


KaleR
Title: Re: delet files controlled;)
Post by: bacter on September 11, 2009, 08:41:26 AM
PeterPunk: There are two ways to delete a folder or file.

A) in hfs, in the vfs-tree mouse right-click and 'remove' (= delete) or hit the 'Del' key.

B) remote deleting throug the template (web-page) of your server using macros. This option is only available with the beta builds of version 2.3 of hfs and not with the stable version 2.2f , and only if the corresponding macros are contained in the template used.

See also:
http://www.rejetto.com/forum/index.php?topic=7492.0;topicseen (http://www.rejetto.com/forum/index.php?topic=7492.0;topicseen)
Title: Re: delet files controlled;)
Post by: rejetto on September 13, 2009, 09:54:31 AM
quick and easy: you can't delete with 2.2
if you need deletion start using 2.3 (still testing, not official yet)
Title: Re: delet files controlled;)
Post by: PeterPk (not Punk) on September 14, 2009, 06:03:41 AM
I have uderstand...
I have wrong version

Thank you to everybody