rejetto forum

Locking Files

vbn · 5 · 4544

0 Members and 1 Guest are viewing this topic.

Offline vbn

  • Occasional poster
  • *
    • Posts: 36
    • View Profile
Is there a way to "Lock" files which are being listed from new download requests ?

I am sorry tried searching but didnt find anything relevant  :(

My server has files which are download continously from all over the world and if I want to delete/move/rename a file its already locked by HFS....so how can I prevent fresh download requests on that file to be denied.


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2063
    • View Profile
You can put this in the template for the build beta only

in the default template, at section  [file=folder=link|private]
replace
<a class='the-item' href="%item-url%">

by

{.if not|{.get|is new.}|<a class='the-item' href="%item-url%">.}

new files names are visible but the url not.



Offline vbn

  • Occasional poster
  • *
    • Posts: 36
    • View Profile
I did that but how does that help restrict new download session from opening for a 'particular' file ?

How do I indicate to HFS that file xyz.abc is the one which should no longer be downloadable but only listed.


Offline maverick

  • Tireless poster
  • ****
    • Posts: 1052
  • Computer Solutions
    • View Profile
How do I indicate to HFS that file xyz.abc is the one which should no longer be downloadable but only listed.

What you can do is move the files that should no longer be downloadable to a real folder, then in properties for that folder flag "no download".  The file list will still appear but the files won't be downloadable.
maverick


Offline vbn

  • Occasional poster
  • *
    • Posts: 36
    • View Profile