Minimal ObexFTP C client example

Help
Pavel R
2008-02-02
2013-05-01
  • Pavel R

    Pavel R - 2008-02-02

    Hello!

    I'm trying to send a file to a mobile phone (Motorola Razer K3) using openObex.I've compiled the file c_example.c,
    from http://dev.zuckschwerdt.org/openobex/wiki/ObexFtpExampleClientC
    as described and run the executable file, runexample, as follows:

    ./runexample 00-1B-52-4D-9D-12 9 /home/leto/workspace/obexEx/info.txt

    I received a response from my phone, however i got an error message: "Error getting a file", from the program, even though the file info.txt exists in the specified location.

    Can someone please help?

    Thanks!

     
    • Christian W. Zuckschwerdt

      The filename is a path on the device. Also this is just an example. E.g.
      ./runexample 00-1B-52-4D-9D-12 9 telecom/devinfo.txt

       

Log in to post a comment.