How to share files between two machines in a network with a router?

by Patterson   Last Updated October 24, 2017 00:02 AM

I have a notebook with ubuntu 13.04 and a desktop with Debian 7.1.0 and I want to know how can I share files between the two machines, I'm using a router and the notebook is connected to the wireless network, since the desktop is on eth0. Can someone tell me how to share files betwen the two? Because I know absolutely nothing of networks. Thanks to those who respond.

Answers 6

What do you mean by "sharing"?

If you just want to download a small number of files from one computer to another, you can run python2 -m SimpleHTTPServer 8001 in the directory of the files to be shared on one computer. Then on another computer, use your browser (or other tools like wget) to navigate to the url http://x.x.x.x:8001/ to view/download the files. x.x.x.x is to be replaced by the IP address of the former computer.

If you have a large number of files to copy, I suggest rsync though ssh. But it works well if you have ssh server up and running at least one computer.

If you want more complicated sharing, you may want to try NFS or sshfs.

September 22, 2013 16:53 PM

The easiest way is to just use a flash drive to transfer files. You could also upload your files to the cloud(eg: Google Drive, Dropbox, Ubuntu One, ect.) and download them on your other computer.

September 22, 2013 16:54 PM

On nautilus you can right click the folder and choose share options. This will install the required software and share the folder using samba. This share will be visible form linux, windows and mac.

September 22, 2013 17:00 PM

There are many ways. Everything has it's advantages. This is a good one that should be mentioned. Very easy to set up.

Bittorrent Sync

I recommend BTS especially for very big files like videos or so. It's easy to use and also can work over the internet (by default). It is similar to Dropbox (syncs folders), but without a central server. Available for Win, Mac, Linux, Android, iOS. More Information in this answer: Peer To Peer (P2P) Sync and Share Ubuntu

September 22, 2013 17:05 PM

Patterson Eaglesoft is very picky!

On the XP server machine, go to:

My computer Tools Folder options View Uncheck Simple file sharing Go to your Data folder Sharing Share the folder Make sure that everyone has full control

Should work now. If not on the remote PC, go the the technical reference, data base setup and type Host=name of server PC. Example. Host=dell1525

January 17, 2014 23:08 PM


This is an opensource alternative to dropbox, Google-drive, etc, and like Bittorrent Sync, does not require storing your data on a third party server (something I once heard referred to as "running naked through the google-plex". An apt description I think). It is also cross platform. Linux, Windows, Apple, Android. Once installed and set up, you create a folder on each machine, exchange ID keys and they stay in sync. Changes in any one are reflected across all, data being exchanged/synchronized at any time the two (or more) machines are online at the same time. If you have a home server (raspberry pi with a large HDD attached ??) that is online all the time, you can have a fully private dropbox equivalent.

check it out for yourself here:

October 23, 2017 23:50 PM

Related Questions

simple web file server, please recommend

Updated November 21, 2018 13:02 PM

Debian network issues when switching users

Updated April 22, 2016 08:00 AM

Set up a static network with shared internet

Updated October 25, 2015 13:01 PM

atheros chipset not working, light is off

Updated November 18, 2017 02:02 AM