I always get into trouble when sharing files across computers. Windows share sucks and when I have Windows and Linux cluster, Samaba just can not do it....
I always use to think that there should be some HTTP based solution to it as HTTP is proven protocol for file transfer, so I found a way and luckily dam easy way.
All you need is to install python on your system, even if you are not a coder, 20 - 30 MB setup of Python wont bite you. After you install it (generally Linux has it by default), go to command line, change directory to the directory you want to share and write:
Python -m SimpleHTTPServer
thats it. Now you have exposed that folder on port 8000. Open web browser from a computer on the network, open http://your-ip:8000 and you can download any file from that computer you want :)
Friday, April 24, 2009
Subscribe to:
Post Comments (Atom)
Blog Archive
-
►
2007
(34)
-
►
November
(18)
- The Emergency Times
- Most dangerous country of the World
- I was dead
- Emergency Times No. 6
- 20 Ex-Generals Ready to Join Fight for Democracy
- Iqbal Day --- anti-Martial Law protest
- The Emergency Times - Issue 5
- "Proud of you"
- Student risen in unversities across Pakistan
- Changes in Army Act are ridiculus
- Media flashing at LUMS anti-martial law drive
- LUMS stages biggest anti-martial law demostration ...
- LUMS protest noticed: CNN to local media
- Karachi Stock Exchange Suffers biggest Downfall in...
- Country-wide Anti marshal-law protets gear up
- Another Martial Law!! this guy is freak
- Imran Khan in LUMS on the eve of Martial Law
- Text of emergency proclamation (Source dawn.com)
-
►
November
(18)
About Me
My Associations
Volunteer Internet Environment Watch (VIEW)
(which is no more volunteer based)
Sahana - Disaster Management System
Sahana is my Google Summer of Code Project (2009)

2 comments:
Didnt worked in my case :
Serving HTTP on 0.0.0.0 port 8000 ...
this line was coming like forever :(
But I'm quite interested into HTTP sharing ..waiting for ur reply
Yeh thats the point, you have set a HTTP server and shared those files...
Now if you know your IP (for example my IP is 192.168.1.105 ), you can visit http://192.168.1.105:8000/ on any computer on the network and download the file you want.
If you have open IP, you can defined download files from any computer in the world.
You are on the right track
Post a Comment