0

I would like to transfer .log files automatically between two pc's via a python script. I'm a mechnanic who only knows the bare basics of python. I've made a canbus logger, which logs an engines ecu daily. And I would like to develop a python script, that sends those log files weekly to my work pc. The engine is hooked to a little pc with internet connection. So the goals is to integrate the file transfer into the logging script. So after a week is passed, the engine pc' shall transfer 7 log files to my work pc.

As I said, I'm a noob in python, but I learn quite quick. So if someone could point me in the right direction. Like for example which module would come in handy? Or maybe it is beter to create a server, with something like a rasberry pi, which will receive the files and store them. That would be very much appreciated.

  • 2
    https://stackoverflow.com/questions/8721870/how-to-transfer-a-file-between-two-connected-computers-in-python . If you are just looking at getting the files accessible to your other computer you could just upload the files to something like google drive / dropbox to view on your work PC. – Andrew Ryan Oct 19 '22 at 17:56

0 Answers0