Send gcode files to octoprint via SCP

If I copied a file via scp directly into the folder where octoprint stores the .gcode files locally, does octoprint immediately see it?

No. Use the watched folder for that. That also has the file get the proper processing it needs to get to be a valid upload.

1 Like

and that path is:

/home/pi/.octoprint/watched

where pi is whatever username? Tested it and it works.

It is that path unless the user has reconfigured that path in the Settings or via config.yaml.

And OctoPrint is well-behaved for large files; it will know if it's still being streamed and leave it alone until it stops.