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
2  
Related: askubuntu.com/questions/310180/… – Lucio Sep 25 '15 at 4:28
up vote 34 down vote accepted

               A Quick Way to Share Folders in Ubuntu 11.10

Objectives:

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

sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.old
sudo nano /etc/samba/smb.conf

scroll to the global section, and add the lines

encrypt passwords = true 
wins support = yes

press ctrl+o and ctrl+x to save, and exit nano

sudo service smbd restart

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

\\computer_name\share_name

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
1  
Instructions worked flawlessly, transferring files now when my USB stick failed because of it's size. – thomasrive Jul 21 '12 at 0:22
2  
More than two years later, still works like a charm (Ubuntu 12.04 to Windows 7). – wesf90 Oct 4 '14 at 1:04
    
On Windows 10, for the first method, I found that the run prompt wouldn't do anything with the path I was giving it. You can however, open Explorer and click the Network link on the left, then find the hostname of the Ubuntu PC and it will show all shared folders. – Luke Sep 2 '16 at 15:53
    
Thanks, it works but the transfer rate is very slow for me (max 150KBytes/s). Can I make it faster? I can download files at 5MBytes/s from internet. – Rasoul Aug 11 '17 at 21:11

HTTP server

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

ifconfig

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:

192.168.0.10:8080

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: https://stackoverflow.com/questions/12905426/what-is-a-faster-alternative-to-pythons-simplehttpserver

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

protected by Community Mar 23 '16 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.