This project still under construction.
Home server is a common device nowadays, some of the NAS also contain manageable Linux system. I have a home server too, I use it as a 24x7 router. I think that it can do more things, so i build this remote downloader. Linux wget is a simple & fast download tool. what i need to do is build a web interface to access server storage and wget anywhere.
- The downloader depended on filebase, no database required.
- A Linux Server that accept wget, ls, head & tail command.
- Apache with URL rewrite Module
- PHP with mcrypt Module
- This is how the application look like at first.
- To create wget download request.
- Request will be shown like this, after wget finish download. Download to local button will appear.
1. Modify startup.php
You can use config tool to create your own startup.php setting. https://www.vinexs.com/boxset/getting_start
Param | Description |
---|---|
url['domain'] | Hosting domain name. Just domain, no slash end. |
url['root'] | Url between domain and index.php. Start with / (slash), leave / if already in root. |
session['token'] | Login cookie name. In this project, use RD_TOKEN . |
session['encrypt'] | Login cookie encryption key. A 32 char string. |
2. Modify main/settings/accounts.php
Param | Description |
---|---|
$SETTING['account'] | Downloader user and password. |
$SETTING['file_storage'] | It is where the file will store. |