Navigatrix.net - A Voyager's Companion
http://navigatrix.net/

Hotspot File Exchange.
http://navigatrix.net/viewtopic.php?f=10&t=506
Page 1 of 1

Author:  Moe [ 12 Sep 2013, 01:03 ]
Post subject:  Hotspot File Exchange.

You have some files (photos, music, whatever) and you want to give them to a friend who is sipping a Hinano on the other side of the table, room, anchorage but is connected to the same router as you.

Find out what your address is with ifconfig |grep inet\ having a space after the slash.
Code:
wadda@mini:~$ ifconfig | grep inet\
          inet addr:192.168.0.57  Bcast:192.168.0.255  Mask:255.255.255.0
          inet addr:127.0.0.1  Mask:255.0.0.0
I'm currently connected at 192.168.0.57...127.0.0.1 is a local address.

Change to the directory the file(s) is/are located; e.g.,
Code:
cd Downloads/Tonga
then enter
Code:
python -m SimpleHTTPServer 8080
Yell over to you computer pal "Oi!, I'm at 192.168.0.57:8080"

He, she, it types that information into the browser URL bar/box...hits <Enter> and miliseconds later can see and access all the files within the Downloads/Tonga directory and sub-directories, but no files/directories 'upstream', like Downloads, or Downloads/privé, etc..

The files can either be downloaded individually or collectively with DownThemAll that is included in every Navigatrix system.

When you're done, close the terminal, or hit <ctrl><c> and the connection is severed.

With the speed of a good ethernet connection it will be faster than copying the files to a USB, handing it over to be copied off the USB and trying to your stick back.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/