Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 wanna transfer some files from this PC with Ubuntu to a PC with Windows 7 I don't care how to do it (ftp, samba or whatever) I wanna know the steps, I searched a lot but I can't find anything that works. Thank you.

share|improve this question
Related:… – Lucio Sep 25 '15 at 4:28
up vote 24 down vote accepted

               A Quick Way to Share Folders in Ubuntu 11.10


Share a folder in Ubuntu and access it from Windows

To get started, right-click on the folder you wish to share and select ‘Sharing Options’

enter image description here

When prompted to install Samba services, do it.

enter image description here

After installing Samba services, click ‘Restart session’

enter image description here

Then click ‘Create Share’ to complete the process.

enter image description here

Open Terminal Replace USERNAME with your account name.

sudo smbpasswd -a USERNAME

On the Windows machine, go to Start –> All Programs –> Accessories –> run and type the command:


computer name can be ip address of ubuntu machine , to check ip of ubuntu machine , go to ubuntu machine & open terminal & type ifconfig

enter image description here

Type the Ubuntu computer name and the share name of the resource.

You will get a prompted to enter your credentials. Type your Ubuntu username and password and click ‘OK’

enter image description here

Now try again to access the shares from your Windows machine

enter image description here

A Quick Way To Transfer files From Ubuntu To Windows

On Ubuntu Machine install openssh-server

sudo apt-get install openssh-server

after installing go to windows machine & download / install FileZilla & open it

enter image description here

Host = Ubuntu Machine Ip address

Username = Your Ubuntu Machine Username

Password = You Username Password

Port = 22

Done Now you can easily transfer files from Windows to Ubuntu OR Ubuntu to windows

share|improve this answer
Thank you, it worked. Transfering files now! :D – Nick Oh Feb 24 '12 at 16:59
Instructions worked flawlessly, transferring files now when my USB stick failed because of it's size. – thomasrive Jul 21 '12 at 0:22
More than two years later, still works like a charm (Ubuntu 12.04 to Windows 7). – wesf90 Oct 4 '14 at 1:04

HTTP server

Find your IP on the source computer, e.g. On Ubuntu:


Create a server in a directory that contains the file you want to transfer:

python -m SimpleHTTPServer 8080

On the receiving computer, open a browser, and visit:

Now you can navigate through directories to the file you want.

I'm not sure if this method is fast / robust, but it is one of the simplest to setup and portable.

Faster alternatives are discussed at:

share|improve this answer
For a single file, another similar approach is woof. – Andrea Lazzarotto Jun 4 at 22:21

protected by Community Mar 23 at 7:24

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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