I'm writing a python script running on a NAS and picking up files from inside of a raspberry pi.
Didn't find any examples how to access raspberry pi. Can somebody give advice?
Thank you
I'm writing a python script running on a NAS and picking up files from inside of a raspberry pi.
Didn't find any examples how to access raspberry pi. Can somebody give advice?
Thank you
Please do more research.
The easiest way is probably to run Secure Copy (SCP) over SSH from python on NAS. See this thread
If you want to serve files to other clients (e.g. your laptop), consider running file server on RPI. Perhaps FTP: FTP on RPI tutorial Otherwise you can implement HTTP like interface (REST API for example) and "get" files via HTTP. Don't skim on the security and access rights to your API.