Read string from ftp .txt file problem
in
Integration and Hardware
•
1 year ago
Hi!
I made simple applet which continuously reads string data from text file located on FTP. Text file on FTP is updating every two seconds.
I load signed applet on server and lunch it. Applet works fine, also read text file from URL and write down data from text file...but read data only at startup applet, instated every 2 seconds. So, program continue to run, but obviously didn't read data from FTP every cycle.
Applet works fine and read text data every two seconds if I rune code form local disk.
Anny suggestion on that problem? It is possible that first read of text file stay in some kind of buffer and that data is usable during the whole session?
1