Simple way to share files on intranet.

If you want to download files from machine A to machine B and have python installed on machine A, here is a very simple way to do it:

On machine A, open a command window and change directory to where the files are and run this command:

python -m SimpleHTTPServer

This command starts a web server serving files from that directory.

On machine B, just open a browser and type the ip address of machine A and port 8000 and you can see all the files. When the transfer is done, simply press control-C in the command window. A simple way to temporarily share your files across the network!

Related posts:

  1. Zeroconf for seamless networking…
  2. Some cool tips for optimizing mozilla firebird
  3. Password protect GNU screen sessions
  4. Ruby script to get a list of all mp3 files in a directory sorted durationwise.
  5. First impressions on Google Wave

Tags: ,

  1. eka’s avatar

    this great…

    i will try…

    Reply