Author Topic: folder archives  (Read 2354 times)

0 Members and 1 Guest are viewing this topic.

Offline FTNCmedia

  • Regular poster
  • **
  • Posts: 17
    • View Profile
folder archives
« on: October 27, 2011, 10:52:29 AM »
General question:

I am using RAWR template and with that tpl, you can download the entire contents of a folder/drive and sometimes that can be HUGE. Is there a way to limit the size of a download? It is convenient to use that function (ie. music albums, seasons of shows..etc.) and I do not really want to get rid of that function. thx..

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12501
  • Country: it
    • View Profile
Re: folder archives
« Reply #1 on: October 27, 2011, 02:20:20 PM »
in the virtual file system you can remove the "archivable" attribute from a folder and give it just to a subfolder.
this is easy while you have everything virtualized, but harder with real folders.
somewhere in the forum i remember a script to prevent folder archives based on the depth of the folder (where a folder has depth 1 and a subfolder depth 2 and so on).
anyway this is not surely perfect as this kind of file system has its limits.

Offline FTNCmedia

  • Regular poster
  • **
  • Posts: 17
    • View Profile
Re: folder archives
« Reply #2 on: October 27, 2011, 02:26:11 PM »
Thank you for the quick reply. I will dig in there and see what I can do about removing the archivable attributes from the main large folders. I know you are busy, but you have any idea where I would start looking for that script to prevent folder archives based on depth?

Again, thx for this product..:)

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12501
  • Country: it
    • View Profile
Re: folder archives
« Reply #3 on: October 27, 2011, 02:29:54 PM »
i used google and i think i found it. Give it a look
http://www.rejetto.com/forum/index.php/topic,8609.0.html

Offline FTNCmedia

  • Regular poster
  • **
  • Posts: 17
    • View Profile
Re: folder archives
« Reply #4 on: October 28, 2011, 12:30:29 AM »
Rejetto,

Again, I appreciate the help and sorry I am a pain in the ass :) I got the script

[+archive name]
{.if|{.%stream-size% > 2000000000.}|{:
  {.disconnect reason|archive too big.}
:}.}

I went to post questions to RAWR team but it led me back to rejetto forum! lol...so I guess I will ask question here. Where do put this script? I am runnin RAWR 0.1.3

Thx again.

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12501
  • Country: it
    • View Profile
Re: folder archives
« Reply #5 on: October 30, 2011, 10:20:52 AM »
it's an event script.

ALT+F6
and paste the text there