View Full Version : [all variants] Sharing a file through WAN
May 11th, 2009, 03:59 PM
I use a soft name HFS(HTTP File Server) in Windows to share my files to another user in WAN/internet. Here you can see this soft
I want a similar soft in Ubuntu. I don't want to upload my file on any web server. And with HFS, I can also share my files/folders on LAN.
May 11th, 2009, 04:16 PM
ssh is the most often used file share in Ubuntu. You need to install openssh-server and the rest is history - well nearly :)
May 11th, 2009, 04:33 PM
Perhaps you would be interested in this then: http://www.rejetto.com/forum/?topic=4469
Alternatively, you could use any number of possibilities including ssh/scp as suggested by Peter, FTP as outlined in my signature, http via apache or lighttpd, among others.
May 13th, 2009, 11:09 PM
I rather found the easiest way to do this. Problem is I don't know about the security issues. But it solved my problem. You have to have real IP to do this.
open terminal, change the directory which one you want to share.
$python -m SimpleHTTPServer # requires Python 2.4
$python -c "from SimpleHTTPServer import test; test()" # older Python
$python -c "import SimpleHTTPServer;SimpleHTTPServer.test()"
http://localhost:8000 #on your localhost
http://your.real.ip:8000/ #on internet
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.