| 1 | = Using Http File Server = |
| 2 | |
| 3 | This demonstrates how to move a file from a host computer to a board using HFS (Http File Server). |
| 4 | |
| 5 | 1. Download HFS (found at http://www.rejetto.com/hfs/?f=dl) to a computer that can be used to transfer the file. |
| 6 | |
| 7 | 2. Make sure the server's IP address is in the same network as the board. |
| 8 | |
| 9 | In this example, the server is 192.168.1.34/255.255.255.0 and the board is 192.168.1.15/255.255.255.0 |
| 10 | |
| 11 | [[Image(wiki:transfer:server1.jpg)]] |
| 12 | |
| 13 | 3. Add a file to the server by right clicking and selecting "add files..." |
| 14 | |
| 15 | [[Image(wiki:transfer:server2.jpg)]] |
| 16 | |
| 17 | [[Image(wiki:transfer:server3.jpg)]] |
| 18 | |
| 19 | == Using wget to Retrieve Files from the Server == |
| 20 | |
| 21 | 4. On the board type: |
| 22 | |
| 23 | {{{ |
| 24 | wget [URL] |
| 25 | }}} |
| 26 | |
| 27 | For example: |
| 28 | |
| 29 | {{{ |
| 30 | wget http://192.168.1.34/testing.txt |
| 31 | }}} |
| 32 | |
| 33 | This will download testing.txt to the current directory. |