Is it possible to transfer files from a device to a local machine?


For debugging purposes I am looking for a way to quickly inspect an image file created in the device container on my local machine. Something like resin scp resin_uuid /path/to/remote/file /path/to/local. I know about resin sync but it works the other way round.


:speech_balloon:You could resin ssh into the application container and execute a command to push the file out.


What do you mean exactly when you say “push the file out” ? uploading it to a server ?


Yes, instead of running scp on your development machine to pull a remote (resin) file to your local (dev machine) file system, you could run scp on the resin device to push a local (resin) file to a remove (dev machine) file system.


Thank you for your reply. I will try this. The problem is that my local machine does not have a static IP to connect to.


What about your hostname, do they resolve to IP on your network?


For my own small testing I was using
(send the file out of the device, and download it to your development machine)


Indeed this is a great solution. Thanks a lot.