Your browser does not allow storing cookies. We recommend enabling them.


com.ssh.sft
Interface ProgressListener


public interface ProgressListener

The listener interface for the progression of a single file operation. When a file operation (e.g. copy) is initiated with an associated ProgressListener, the listener's progress(long) method is periodically called to indicate the status of the ongoing operation. When the operation is finished, the finish() method is called.


Method Summary
 voidfinish()
          Notify the listener that the operation has now finished.
 voidprogress(long progressed)
          Notify the listener that progress has been made in the operation.
 

Method Detail

progress

public void progress(long progressed)
Notify the listener that progress has been made in the operation.

Parameters:
progressed - the length of the splice that has been progressed since the last time this method was called

finish

public void finish()
Notify the listener that the operation has now finished.




 

 
Highlights from the SSH.COM blog:

  • Cryptomining with the SSH protocol: what big enterprises need to know about it

    Cryptomining malware is primarily thought of as targeting desktops and laptops and is used to hijack system resources to mine cryptocurrency.
    Read more
  • SLAM the door shut on traditional privileged access management

    Did you know that something as trivial-sounding as granting access for your developers or third parties to a product development environment can throw a gorilla-sized monkey wrench into your operations and productivity?
    Read more
  • We broke the IT security perimeter

    Everyone understands the concept of a security perimeter. You only gain access if you are identified and authorized to do so.
    Read more