I have a B4J FTP client application running on a headless/legless mini PC in a forest in a fairly remote area.
The mini PC acts as a buffer point between a series of cameras in trees and a fairly low speed wireless Internet connection.
I have had this running for about 2 years and it has been quite stable.
All of a sudden I am having problems - the B4J FTP client application is throwing lots of this:
org.apache.commons.net.io.CopyStreamException: IOException caught while copying.
at org.apache.commons.net.io.Util.copyStream(Util.java:130)
at org.apache.commons.net.ftp.FTPClient.__storeFile(FTPClient.java:574)
at org.apache.commons.net.ftp.FTPClient.storeFile(FTPClient.java:1716)
at anywheresoftware.b4a.net.FTPWrapper$2.run(FTPWrapper.java:239)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
I initially assumed that I had an equipment failure but a bit of jugging of equipment seems to have dispelled this.
I am currently working on the premise that the link has deteriorated to an extent that some timeout is being triggered.
Hence my questions re timeouts.
BTW I also use a modified form of the B4J FTP server on the other end and I see there is at least 1 timeout visible there.
Any thoughts are gladly accepted - e.g. is there any way to find out what is triggering the rather uninformative low level message I'm getting?
Thanks...