Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I know I can install Samba or openssh-server to be able to share files between two Ubuntu computers. Is there a way to share files without installing additional packages?

I installed Ubuntu on two systems on the same LAN, but without Internet connectivity. I found that my usual way of transferring files (scp) failed because openssh-server was not installed on either system. Using Personal File Sharing was impossible without installing extra packages. I ended up using netcat to transfer, which is suboptimal and not intuitive for the average user.

So I'd like to know if anyone knows of a way to do this with out-of-the-box Ubuntu installations (or at least, with packages available in the Ubuntu desktop CD).

Thanks!

share|improve this question

2 Answers 2

up vote 10 down vote accepted

You can move to a given directory with cd, then serve the current directory as a web server with the command:

python -m SimpleHTTPServer

On the other machine go to the address http://server-ip:8000/

share|improve this answer
    
Thanks for this! I found this the easiest way to do what I need, just open a terminal, type a relatively simple command, and I can use the browser on the other system. –  roadmr Jan 15 '12 at 20:12
    
thanks, this is the most easiest way to download files from other computers. Is there a way to speed up the transfer rate, currently i am getting only 2.5 MB/sec. –  Ankit Aug 19 '12 at 4:35

Ubuntu One. All you have to do is register.

Bluetooth (if available).

VNC remote desktop. It may not be for transferring, but allows access to files on another computer.

share|improve this answer
    
Thanks for your reply! Ubuntu One doesn't work here as there is no internet access. Bluetooth is an option but maybe it's a bit slow. VNC should also work but I found the setup is a bit cumbersome. –  roadmr Jan 15 '12 at 20:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.