B4J Question FTP Issue

Discussion in 'B4J Questions' started by ElliotHC, Aug 12, 2019 at 6:47 PM.

Similar threads

B4J Question Websocket crash in release mode
B4J Question Jetty setting maxIdleTime
B4J Question JNet ver 1.77
B4J Question smtp
Bug? jNet 1.76 SMTP raises error
  1. ElliotHC

    ElliotHC Active Member Licensed User

    I seem to be getting this error message returned, can anyone please help with it?

    Many thanks.

    java.lang.NullPointerException
    at org.apache.commons.net.SocketClient.setSoTimeout(SocketClient.java:447)
    at anywheresoftware.b4a.net.FTPWrapper.connectIfNeeded(FTPWrapper.java:494)
    at anywheresoftware.b4a.net.FTPWrapper.access$3(FTPWrapper.java:485)
    at anywheresoftware.b4a.net.FTPWrapper$2.run(FTPWrapper.java:225)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Is this the full error message? Where is the relevant code?
     
  3. ElliotHC

    ElliotHC Active Member Licensed User

    Apparently, that is a server rejection message. I've forgotten to set a flag in my nested loops and issued more than 500 FTP upload requests in under a minute.

    That'll do it for sure!
     
    emexes likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice