HFS: Folder Archives: Difference between revisions

From rejetto wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


Generally speaking, archives may come in several formats. HFS offers at the moment only the ''.tar'' format. It is supported by most archive software. Folder archives do not offer any compression for the downloaded files, instead they only offer the ability to download the entire folder in one click compared to many.
Generally speaking, archives may come in several formats. HFS offers at the moment only the ''.tar'' format. It is supported by most archive software. Folder archives do not offer any compression for the downloaded files, instead they only offer the ability to download the entire folder in one click compared to many.
To manually archive download a folder. Add '''?folder.tar''' to the URL when inside the folder.


==Enable/Disable Folder Archives==
==Enable/Disable Folder Archives==
Line 7: Line 9:
* Check that you are in ''expert mode'', If not switch to ''expert mode''.
* Check that you are in ''expert mode'', If not switch to ''expert mode''.
* ''Right Click On Folder → Archivable''
* ''Right Click On Folder → Archivable''
'''Notes --'''
* Folder Archives are enabled by default for the root folder.
* You Must be in expert mode to enable/disable Folder Archives.
* The tick next to ''Archivable'' means that it is enabled.


==Archive Support In Templates==
==Archive Support In Templates==


'''[archive]''' = '''%archive%''', void unless 'Archivable' is set for enabled folder. Creates a link within Archive Enabled folder.


URL required in template, '''%folder%~folder.tar?recursive'''


==Notes==
'''[item-archivable]''' = '''%item-archivable%''', void unless 'Archivable' is set for enabled folder. Creates a link in the filelist for archiving the folder in the parent directory.


* Folder Archives are enabled by default for the root folder.
URL required in template, '''%item-url%~folder.tar?recursive'''
* You Must be in expert mode to enable/disable Folder Archives.
 
* The tick next to ''Archivable'' means that it is enabled.
'''Notes --'''
* '''?recursive''' is optional, only functional if 'Recusive Listing' is enabled.

Revision as of 06:38, 15 September 2007

Folder Archives are used to download an entire folder as an archive. An archive is a single file containing many files and folders.

Generally speaking, archives may come in several formats. HFS offers at the moment only the .tar format. It is supported by most archive software. Folder archives do not offer any compression for the downloaded files, instead they only offer the ability to download the entire folder in one click compared to many.

To manually archive download a folder. Add ?folder.tar to the URL when inside the folder.

Enable/Disable Folder Archives

  • Check that you are in expert mode, If not switch to expert mode.
  • Right Click On Folder → Archivable

Notes --

  • Folder Archives are enabled by default for the root folder.
  • You Must be in expert mode to enable/disable Folder Archives.
  • The tick next to Archivable means that it is enabled.

Archive Support In Templates

[archive] = %archive%, void unless 'Archivable' is set for enabled folder. Creates a link within Archive Enabled folder.

URL required in template, %folder%~folder.tar?recursive

[item-archivable] = %item-archivable%, void unless 'Archivable' is set for enabled folder. Creates a link in the filelist for archiving the folder in the parent directory.

URL required in template, %item-url%~folder.tar?recursive

Notes --

  • ?recursive is optional, only functional if 'Recusive Listing' is enabled.