Answer the question
In order to leave comments, you need to log in
Client-server application for collecting information?
Guys, maybe there is some code of the program or a source where you can read about the following:
The program on the server must collect information from the file from the client with a certain frequency.
Give me some ideas or sources
Answer the question
In order to leave comments, you need to log in
You can simply write a shell script that will sleep in a loop and send the contents of the file to the server via HTTP POST.
#!/bin/bash
while true
do
curl --data-binary @/some/path/to/file http://remote-server.example/uploaded -sS > /dev/null
sleep 60
done
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question