rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: vbn on July 18, 2010, 10:43:55 AM
-
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.
-
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.
-
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.
-
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.
-
Awesome...that worked ! ;D