Xojo & my rasberry pi experience

today, I decided to move over a home monitoring project to a raspberry pi for the first time. my experience thus far, i think i spent more time deciding on what host name I should give the raspberry pi than what it meant to compile my application for the raspberry pi. without changing one line of code, the app fired up with no problem :slight_smile:

thank you again Xojo team for allowing me to expand to areas I never thought I would go in.

I too had a complicated serial based project that I just compiled for raspberry and it worked immediately (as immediately as linux allows).
its just a pity it took me about two days to figure out how to get the program to copy to the Pi and then how to just allow it to run!!!, linux is really the most unfriendly OS.
terminal, really… like going back to my Hyundai 286 laptop and DOS in 1985(or whenever it was).

everything on the XOJO is just great with the Pi, I certainly would never have spent any time on it without XOJO.

I tried using BitTorrent Sync ( https://www.getsync.com/ ) but I found I had to stop and restart one end or the other to get the sync to occur.

Then I tried SyncThing. ( https://syncthing.net/ ) It was a friendlier user interface and it seemed to sync automatically when the next timed event occurred. Very nice.

For transferring files, I just use SFTP. I didn’t have to install or enable anything on the Pi. Both ForkLift and ExpanDrive work fine for me.

I use a post build script so as soon I have compiled the app I’m ready to test it on the Raspberry.

I like using WinSCP:

https://winscp.net/

For copying over to the pi, I followed these instructions:

samba share on raspberry pi

but the other methods above are good suggestions as well :slight_smile:

Care to share the script?

I use FileZilla now, it is very easy and simple to set up and use, not anything else for me to use now.

Follow Paul’s advice. It’s how it’s done and prepared to be done. SFTP. You will thank your future you by that.

https://www.raspberrypi.org/documentation/remote-access/ssh/sftp.md

The client part can be done with Cyberduck, Filezilla and others (even command line if you are in a *n?x machine like a Mac).

SFTP is the default secure method for file transfers for all major remote linux service providers like Amazon, Google and others (now PI included).

OpenSSH with SFTP is one of the first packages sysadmins install in a linux box to enable remote access and file transfers, get used to them. :wink:

You could just setup smbd on your Raspberry Pi then you can just access it like any other Windows server. It is pretty easy to setup. I even just develop right on the Raspberry Pi from a Windows Desktop so I am not even copying anything.

Some instructions, scroll down a bit: http://pimylifeup.com/raspberry-pi-nas/