B4J Question FTP jNet

Discussion in 'B4J Questions' started by sz4t4n, Apr 7, 2017.

  1. sz4t4n

    sz4t4n Member Licensed User


    I need to have info about total file size. I use SUB DownloadProgress but "total" is always -1. I tried different hosts but the result is always the same. TotalDownloaded is corect.

    I used library Jnet for B4J. Any ideas?
  2. Erel

    Erel Administrator Staff Member Licensed User

    Total will always be -1. The parameter was added by mistake. The size is not known.

    You can use FTP.List to find the size.
  3. sz4t4n

    sz4t4n Member Licensed User

    Thanks. It works fine.
  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