rejetto forum

delet files controlled;)

kaler · 9 · 2109

0 Members and 1 Guest are viewing this topic.

Offline kaler

  • Occasional poster
  • *
    • Posts: 94
    • View Profile
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?


Offline maverick

  • Tireless poster
  • ****
    • Posts: 1052
  • Computer Solutions
    • View Profile
"Delete" is already implemented.  You must use a recent beta version of HFS.


maverick


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2035
    • View Profile
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


Offline kaler

  • Occasional poster
  • *
    • Posts: 94
    • View Profile
ok thanks..

its so simple i thought that i must write a script ;)


Offline PeterPk

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
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

 


Offline kaler

  • Occasional poster
  • *
    • Posts: 94
    • View Profile
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


Offline bacter

  • Operator
  • Tireless poster
  • *****
    • Posts: 681
    • View Profile
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
your computer has no brain - use your own !


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
quick and easy: you can't delete with 2.2
if you need deletion start using 2.3 (still testing, not official yet)


PeterPk (not Punk)

  • Guest
I have uderstand...
I have wrong version

Thank you to everybody