Have you ever had the problem of having to download a big volume of data but didn't want to leave the computer on the entire night? Then don't worry no more, we have the right solution for you!
Using the Intel Galileo Gen 2, we have created a tool to easily download files. The main part of the board is a http server which does all the work. Download links can be sent off via a simple self developed iPhone App which are then stored in a list. The files are downloaded one after another and will be saved on the micro SD card or into the root folder of a plugged in USB device.
Feel free to adjust the code as you see fit!
This simple project was created as part of the Multi Modal Media Madness Lab at the Media Computing Group of the RWTH Aachen university. Click here for more information!
Fellow team members:
Step 1: Prepare the Intel Developer Image on Your Micro SD Card
Visit the Intel-Website to prepare your micro SD card with the developer version of the Linux image. Our tool may also work on the standard image, but has not been tested sufficiently enough.
Step 2: Download the Download.tar.gz
First of all you have to download the download.tar.gz, which will later run on the Intel Galileo board. All of the files including the documentation of every piece of code can be found at SCIEBO.
Step 3: Download the IPhone Application (optional)
In addition to the Java client which runs on many common platforms, we provide an iPhone App for easy access to your download links. The application can be downloaded for free at SCIEBO.
To use the application on your phone, you need to have an active subscription of the developer program.
The iPhone Application can be used in the Xcode simulator. Alternatively, you can use it on your phone if you have an Apple Developer subscription. You need to have the latest version of Xcode and Mac OS X.
The application cannot be used with Windows, Android etc.
Step 4: Install the Server on to the Galileo
- Connect to your Galileo using ssh:
- Download the tar ball to your Galileo:
- Unpack the tar ball
- Change the rights of the GalileoDownloader file to executable
- You can now run the server with
- Maybe you have to open the Port Number 8889 on your router for access from outside your private WLAN
Step 5: Download Your Files
You can use the iPhone application to download files with this tool. The documentation will hopefully answer all the questions that may arise. In addition, there is a little java application that we have written for you in case you do not own an iPhone. It does not contain all the features of the iPhone application but will get the work done. If you want to tinker around, we provide the Gui.java file below which contains the Downloader_Client.jar. Feel free to get creative with the code as well as the documentation of the server to develop your own application!
Simply execute the jar file in order to use it. Write the IP-adress of your Galileo board, type the password of the server running on the board ("abc" by default) and insert the link of the file you wish to download into the designated fields as shown on the picture.
Reminder: The files will be downloaded into the root folder of your USB device, if you have plugged in one, otherwise you will find it in the root folder of the micro SD card.