Documentation:RetroShare collection

From RetroShare
Jump to: navigation, search
Other languages:English 100% • ‎French 100% • ‎Italian 32%

Introduction

Collection files allow you to group certain files and sort them in a folder structure. Send the collection file to a friend, once he has downloaded it he can open it and download the files in the collection. The downloader will then have the downloaded files in the same folder structure as laid out in the collection file.

You can create a collection file by selecting your files and/or folders in the Files tab. Then click right and select "Create collection file" and save the file in your downloads folder.

RScollection.png

Once the file is created, click "Check files" to hash it, select the collection file in-like your files list, copy the RetroShare link and send it to your friends.


A collection file can be opened in the Transfers tab. If the file is still in the list then just right click and select "Open file". If not, click "Open collection" above the list on the right and select the file.

Implementation

Collection files are simple XML files:

<!DOCTYPE RsCollection>
<RsCollection>
 <Directory name="TEST dir">
  <File size="54806055" sha1="XXX" name="TEST.txt"/>
  <File size="54376442" sha1="XXX" name="TEST2.txt"/>
 </Directory>
</RsCollection>

External Tools

Useful for batch creation of collection files:

This page is part of RetroShare Documentation
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Personal tools
Namespaces

Variants
Actions
Navigation
External websites
Wiki
Toolbox