PDA

View Full Version : Read a file from server which is constantly modifying



Tan23
24th June 2019, 07:37
Hi, I am new to QT

what I am trying to do is reading a file from server using qtcpserver and socket.

It works fine but the twist is the file on the server side is constantly modifying , how can we automatically update the file on the client side... any thoughts??

tuli
24th June 2019, 07:46
Periodically probe it for modifications, say by sending a HTTP request and checking for its cache date?

Tan23
24th June 2019, 10:16
can you explain with some psuedo code?

Lesiok
24th June 2019, 10:29
What kind of server : FTP, HTTP, Samba, specilized with API or another type ?