Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have some movie files on my Ubuntu computer that I would like to send to my XP laptop.

Using a USB is too much hassle. Is there any other way of achieving this? Something like the scp command would great.

share|improve this question
up vote 9 down vote accepted

Since you are on Ubuntu which has python installed per default you can just run python -m SimpleHTTPServer in the directory of files you want shared. This just creates a webserver on port 8000 that serves whatever is in that folder, so on your Windows Computer you can just point a browser to http://IP_OF_UBUNTU_BOX:8000 and download whatever you need.

share|improve this answer
+1 for the simplicity – fox Oct 5 '10 at 13:51
Nice solution. So I'm done with my "Learn something new each day"-task for today :-) – fschmitt Oct 5 '10 at 13:56
Glad I could help you with that mate ;) – tante Oct 5 '10 at 14:06
Ow, so easy. I'll try tomorrow. But, how to reverse the process? – Sigur Aug 7 '13 at 0:25

Install WinSCP on the Windows machine and use it to connect to the Linux machine. Alternatively, use the Windows mechanisms to create a folder share called e.g. share1 and then under Linux start the file manager nautilus, hit Ctrl+l to get a location text field and write into it smb:// where you of course have to enter the IP adress or hostname of your windows machine.

share|improve this answer

Share your windows folder over the network and your linux computer should be able to access it via Samba.

share|improve this answer

If you are running a desktop on your Ubuntu machine, you should be able to right click on the folder that contains the items you wish to share. Start by right-clicking the folder you want to share, and select Share Folder. If the services required to share files/folders aren’t installed, you’ll be prompted to install them. After clicking Install services they will automatically start to download and install.

Once that has completed you’ll be presented with an options window. From here you can select the type of sharing (SMB or NFS), give the shared folder a name and decide if you want read-only access to the folder. Click OK when you’re done.

Now open a terminal in Ubuntu and enter the command:

sudo smbpasswd -a username 

Samba user should now be added.

And now other computers can connect to your shared folder..

share|improve this answer

Your Answer


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.