Upload programs wireless without cloud

It is both. I can’t use the cloud software because sometimes there is no (or bad) internet where I am working with my robot. Also I need a wireless connection for controlling it via (e.g. ROS) tools.
So for my understanding there must run a piece of software on the RPi which gets the binary from the cloud and flashes it to the Core2.
The question is when I copy the binary wireless) via FTP at the RPi can it be flashed also to the Core2?
As I wrote before this would make the handling much easier (robot on the floor, PC with IDE on the table).