1. Upload the .rar
upload your .rar file.
store on a folder:
example:
project/files/rar.rar
2. Extract .rar
extract your .rar file.
now you should have 2 files with the same name:
project/files/rar.rar
- rar file
project/files/rar/
- folder
3. Downloading the files
now you can display all the contents of the folder using a backend language.
example:
<a href="project/files/rar.rar">raredfile.rar</a> (linked to download: the whole rar file)
- <a href="project/files/rar/file1.txt">file 1</a> (linked to download: file 1 in the .rar file)
- <a href="project/files/rar/file2.txt">file 2</a> (linked to download: file 2 in the .rar file)