Answer the question
In order to leave comments, you need to log in
How to transfer information from a text file to the server?
On different computers, the program generates a txt file, where it writes "logs" - what it does, how it does it, when it does it, etc. Each computer has its own txt file and all PCs are on the same local network.
The question is - how can you implement the collection of information from these text files in real time in one place? (Let's save in one text file on the local server).
I'm looking at implementation options in python, node js.
Answer the question
In order to leave comments, you need to log in
In this formulation of the problem, the one-liner on the tower will also cope:
cat inp001.txt | ssh -i somekey.key [email protected] "cat >> /tmp/out001.txt"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question