Interface FTP.ProgressInformation

  • Enclosing class:
    FTP

    public static interface FTP.ProgressInformation
    Assign the progressInfo member to an instance of this interface to receive information of how many bytes were transfered. Note that there's no way to get the total size of the file, but only what has been transfered so far.
    See Also:
    FTP.progressInfo
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void reportSize​(int size)
      Called to report the size of the file that will be transferred.
      void transfering​(int current)
      Called to inform how many bytes were transfered.
    • Method Detail

      • reportSize

        void reportSize​(int size)
        Called to report the size of the file that will be transferred. You can use it to compute the transfer's percentage.
        Since:
        TotalCross 1.2
      • transfering

        void transfering​(int current)
        Called to inform how many bytes were transfered.