com.jscape.inet.sftp.events

## Class SftpTransferCompleteEvent

- java.lang.Object
- - com.jscape.inet.sftp.events.SftpEvent
  - - com.jscape.inet.sftp.events.SftpTransferCompleteEvent

- Direct Known Subclasses:
    SftpDownloadEvent, SftpUploadEvent

      public abstract class SftpTransferCompleteEvent
      extends SftpEvent

  This event is fired when upload or download was completed.

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getFilename()` Obtains the file name.
    `long` | `getFilesize()` Obtains the file size.
    `java.lang.String` | `getLocalPath()` Returns local file path.
    `java.lang.String` | `getPath()` Gets path that this file was transferred to/from
    `long` | `getTime()` Obtains the total transfer time.

    - ### Methods inherited from class com.jscape.inet.sftp.events.SftpEvent

      `accept, getSource`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getFilename

          public java.lang.String getFilename()

      Obtains the file name.
      Returns:
        the file name

    - #### getPath

          public java.lang.String getPath()

      Gets path that this file was transferred to/from
      Returns:
        file path

    - #### getLocalPath

          public java.lang.String getLocalPath()

      Returns local file path.
      Returns:
        local file path

    - #### getFilesize

          public long getFilesize()

      Obtains the file size.
      Returns:
        the file size

    - #### getTime

          public long getTime()

      Obtains the total transfer time.
      Returns:
        the total transfer time

Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved