If I'm reading the SCP option right, the plan was to sync a folder on the mac/pc with scp onto the raspbian instance that octoprint is running on; perhaps even the directory where octoprint stores the .gcode files?
EDIT : see link for reference (
https://community.octoprint.org/t/send- ... a-scp/9609)
Yes, using scp or WinSCP to auto sync .gocde to the
watched folder of octoprint will cause the .gcode file to show up in octoprint.
The watched folder is located under /home/{username}/.octoprint/watched