rejetto forum

Software => HFS ~ HTTP File Server => Beta => Topic started by: rejetto on September 15, 2007, 04:39:46 AM

Title: Testing build #134
Post by: rejetto on September 15, 2007, 04:39:46 AM
download @ www.dovedove.it/hfs/hfs134.exe

what's new
+ new template symbol: %item-archivable% (to be used in [folder] section, expands to [item-archivable] if the folder is archivable)
- fixed unicode support for uploading file names
- folder was left locked after downloading it as archive 
- AV deleting a folder while it is sent
- incorrect behaviour adding an empty CD drives
Title: Re: Testing build #134
Post by: TSG on September 15, 2007, 05:10:23 AM
Just finished implementing the archive feature into the ToG.

%item-archivable% - this goes into [folder]

[item-archivable]
<a href="%item-url%~folder.tar?recursive" title="Download the content of this folder as a .tar Archive">| <img src="/~img33" alt="DL" align=top></a>

:) works fine for me.
Title: Re: Testing build #134
Post by: Alons0 on September 15, 2007, 11:21:46 AM
For what is %item-archivable%? What is the difference between this and %archive%?
Title: Re: Testing build #134
Post by: Comrade Elisey on September 15, 2007, 12:51:16 PM
hmm... i'm not undastand this too!
Title: Re: Testing build #134
Post by: rejetto on September 15, 2007, 12:53:11 PM
it was requested in this topic www.rejetto.com/forum/?topic=4801
Title: Re: Testing build #134
Post by: Alons0 on September 15, 2007, 01:23:09 PM
it was requested in this topic www.rejetto.com/forum/?topic=4801
Oooo i understand ;D
p.s. rejetto check my pm
Title: Re: Testing build #134
Post by: Comrade Elisey on September 15, 2007, 01:30:26 PM
i'm still not undastand how make it works!  ???
Title: Re: Testing build #134
Post by: Alons0 on September 15, 2007, 01:39:41 PM
i'm still not undastand how make it works!  ???
Look at the screenshot (column "extra"). This option allows you to download the folder as archive without entering in it. To start using the option, you must do this:
1. %item-archivable% - this goes into [folder] section
2. Add this section to your template:
Code: [Select]
[item-archivable]
<a href="%item-url%~folder.tar?recursive"><img src="/~img33" alt="Download the content of this folder as a .tar Archive" border=0></a>
Title: Re: Testing build #134
Post by: Comrade Elisey on September 15, 2007, 01:45:27 PM
ok, thanx! now i know it!  :D