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 am trying to send some files from my HTC to my laptop having ubuntu 12.04 through a bluetooth; but while trying to send files i see the following error on my htc device:-

This transfer is forbidden by the target device

What does this error means, any permission issues? or something else. What settings do I need to make so that ubuntu can accept files easily.

I am able to send files from ubuntu to htc device via Bluetooth.

share|improve this question
    
Please don't change your question midway. An answer about regular MTP file transfer came in before you've edited your question to change it to a Bluetooth question. –  gertvdijk Feb 6 '13 at 11:02

5 Answers 5

This might be happening because by default ubuntu doesn't recieve files over bluetooth. One possible solution might be to enable recieving files over bluetooth. Open the personal file sharing preferences window.dash Then you'll see this window. Just check the 'Recieve files in Downloads folder over bluetooth' and you're good to go.

personal file sharing pref

share|improve this answer

On the HTC device, go to Settings -> Connect to PC and look at Default connection type. If this is set to 'Charge only', you can either select 'Disk drive', or check the 'Ask me' box.

This should allow you to mount the drives on the HTC device.

share|improve this answer
    
The question is about bluetooth file transfer, not direct USB connection. –  Javier Rivera Feb 6 '13 at 9:50
    
@JavierRivera This was answered before the question was edited to "Bluetooth"! See revision 2 for example. This was certainly not clear at the time this answer came in. –  gertvdijk Feb 6 '13 at 10:58

gnome-bluetooth (3.2.2-0ubuntu5) now has a working bi-directory I think. I used blueman before, I also had this bug occur on my HTC G4 G7 G11. bug can be found at https://bugs.launchpad.net/bugs/872044, etc.

share|improve this answer
1  
Welcome to AskUbuntu! You may want to add where you got your information from as citing an up to date source of information is quite recommended for such answers. –  Oyibo Feb 6 '13 at 10:45

The answer provided by Barton is no longer valid with the latest HTC One X update, there is for sure a problem with the MTP connectivity although I hear its being worked on.

share|improve this answer
1  
The question is about bluetooth transfer, mtp is not relevant here. –  Javier Rivera Feb 6 '13 at 9:50

Here is a workaround:

sudo apt-get install mtpfs
sudo mkdir /media/onex
sudo chmod 775 /media/onex
sudo mtpfs -o allow_other /media/onex
gksu gedit /etc/udev/rules.d/51-android.rules

and add the following line:

SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"

and then:

sudo service udev restart

Didnt work for me but has for others.

share|improve this answer
1  
The question is about bluetooth transfer, mtp is not relevant here. –  Javier Rivera Feb 6 '13 at 9:49

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.