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 can pair my HTC One X with Ubuntu, but I can't send any files to my computer from my phone. Every time I try my phone reports the transfer failed and I never get prompted by the computer to accept the file.

share|improve this question
    
you can use an FTP server on your phone like swiftp –  daithib8 Jun 15 '12 at 20:25
1  
flag received: possible duplicate? askubuntu.com/questions/153652/… –  fossfreedom Jul 12 '12 at 9:43
add comment

4 Answers 4

I would like to share one method on how to send files from any Android smartphone to Ubuntu. I successfully tested it myself on Ubuntu 12.10 laptop with built-in bluetooth adapter and SGS4 smartphone.

Your smartphone and Ubuntu computer should be paired.

Open a terminal application (Ctrl+Alt+T) and install obexftp and obexpushd packages from OpenOBEX project using the following command:

sudo apt-get install obexftp obexpushd

Set your computer's bluetooth adapter into discoverable mode executing the following command:

sudo hciconfig hci0 piscan

Run obexpushd command and listen to the incoming bluetooth connection:

obexpushd -B

Now it is possible to send any file from the smartphone to Ubuntu computer. The files will be stored in your /home/username directory.

I tested the method by sharing a file through bluetooth from ASTRO File Manager on Android smartphone.

The main credit for this method goes to the blog post.

share|improve this answer
add comment

Open up the file browser, then find the icon for your phone on the side, click on it and find the file using the computer.

Then just drag to where you want it.

May not work for you but worth a try.

share|improve this answer
3  
I'm affected by the bug that doesn't allow me to browse my files, so that won't work. However, I have found a temporary fix: I went to Personal File Sharing and set it up to download Bluetooth files automatically from my set up devices. –  xjonquilx Jun 15 '12 at 19:54
add comment

What version of Ubuntu are you using? If you're using 12.10 or earlier, I don't think it has support for MTP devices, so you may need to switch to PTP. I'm not sure if it will be the same on your phone, but on mine (Galaxy S3), you just click the notification it gives you on the phone, and go to "More USB options", and change the connection type from there.

share|improve this answer
    
Read the title and you'll see he's trying Bluetooth, not USB. –  strugee Jun 5 '13 at 2:18
add comment

I installed blueman for any bluetooth connection, because on every pc with ubuntu i tried to use it, it didn't work. Give it a try

sudo apt-get install blueman

And then start it. It should now be on the startup applications list. It's lot more comfortable and customizable than the stock obex.

share|improve this answer
add comment

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.