I am thinking a good way to send a xml file under a wireless network between the RPi and a OSX laptop or even an iOS device.
I am looking in the ofxAddons section on the ARM section here in the forum, and I have seen some alternatives. But I am not sure if some of this are old, not proper for RPi or if there are other better ones or easy options; like maybe some of the OF core classes…
Thanks a lot Bakercp!
I just tryed to run the ‘master/example_basic_post_server’ example you toldme, but I get this error:
clang: warning: -lpthread: ‘linker’ input unused
/Users/manu/Documents/of_v0.8.4_osx_release/apps/myApps/example_basic_post_server/src/ofApp.cpp:76:16: error: no member named ‘Utils’ in namespace ‘ofx::HTTP’
some of the others compile fine, I am just starting to look inside them…
EDIT: I made a search for ‘dumpNameValueCollection’… What about doing this?:
I just done my first testing. I tryed with the 2 examples you toldme on the same computer.
I started the ‘example basic post server’ by-passing the line (To make a fast check, maybe was required … but) I mentioned above:
After running first the server and then the client, I didn’t see the file uploaded to ‘data/uploads’… where i supposed would be the file. Also on the client console, didn’t appears any message. … I am not sure the filename is reading correct, because when I change the name no error message appears. I get an error in console if the path do not exists.
EDIT: Maybe the path must be the path+filename?
For the xml file transfer, can’t you just run a samba server and write files like that? I’m doing it constantly when compiling on OSX and testing on the rpi. (so samba runs on the pi)
I don’t see why it shouldn’t work in the opposite direction. (but I haven’t tried it yet)