title: Send a file between 2 mobile phones via bluetooth using Python
body: <p>I am trying to send a file between two mobile phones using Python language</p>
  
  <p>for the phone that will send i used this code:</p>
  
  <pre><code>import socket,e32socket,appuifw
  socket=e32socket.socket(e32socket.AF_BT,e32socket.SOCK_STREAM,e32socket.BTPROTO_RFCOMM,e32socket.OBEX)
  device =e32socket.bt_obex_discover()
  print device
  address=device[0]
  print address
  channel=device[1][u'OBEX Object Push']
  print channel
  e32socket.bt_obex_send_file(address,channel,u"E:23.txt")
  </code></pre>
  
  <p>for the mobile that will receive i used this code </p>
  
  <pre><code>import socket,e32socket,appuifw
  socket=e32socket.socket(e32socket.AF_BT,e32socket.SOCK_STREAM,e32socket.BTPROTO_RFCOMM,e32socket.OBEX)
  e32socket.bt_obex_receive(socket, u"E:23.txt")
  </code></pre>
  
  <p>I savesd first code in .py in an moible then i excuted using python interpreter,, first the bluetooth discovery menu appeares then i selected a mobile that has the mac address which is in the first code,, the error in the last line in that code ""socket.error:(2,'No such file or directory') "" this the error which i found</p>
  
  <p>Can someone help me to solve this problem?</p>