Interface TransferListener

All Known Implementing Classes:
AbstractTransferListener

public interface TransferListener
Since:
4.1.14, 4.0.136
  • Method Details

    • beforeListFiles

      void beforeListFiles(CRCSession session, String path)
      Called before listing directory contends.
      Since:
      4.1.14, 4.0.136
    • afterListFiles

      void afterListFiles(CRCSession session, String path)
      Called after listing directory contends.
      Since:
      4.1.14, 4.0.136
    • beforeGetFile

      void beforeGetFile(CRCSession session, String path)
      Called before getting file info.
      Since:
      4.1.14, 4.0.136
    • afterGetFile

      void afterGetFile(CRCSession session, String path)
      Called after getting file info.
      Since:
      4.1.14, 4.0.136
    • beforeUpload

      void beforeUpload(CRCSession session, String path, boolean append)
      Called before uploading a file.
      Since:
      4.1.14, 4.0.136
    • afterUpload

      void afterUpload(CRCSession session, String path, boolean append)
      Called after uploading a file.
      Since:
      4.1.14, 4.0.136
    • beforeDownload

      void beforeDownload(CRCSession session, String path)
      Called before downloading a file.
      Since:
      4.1.14, 4.0.136
    • afterDownload

      void afterDownload(CRCSession session, String path)
      Called after downloading a file.
      Since:
      4.1.14, 4.0.136
    • beforeDelete

      void beforeDelete(CRCSession session, String path)
      Called before deleting a file.
      Since:
      4.1.14, 4.0.136
    • afterDelete

      void afterDelete(CRCSession session, String path)
      Called after deleting a file.
      Since:
      4.1.14, 4.0.136
    • beforeExists

      void beforeExists(CRCSession session, String path)
      Called before checking if a file exists.
      Since:
      4.1.14, 4.0.136
    • afterExists

      void afterExists(CRCSession session, String path)
      Called after checking if a file exists.
      Since:
      4.1.14, 4.0.136
    • beforeRename

      void beforeRename(CRCSession session, String oldPath, String newPath)
      Called before renaming a file.
      Since:
      4.1.14, 4.0.136
    • afterRename

      void afterRename(CRCSession session, String oldPath, String newPath)
      Called after renaming a file.
      Since:
      4.1.14, 4.0.136
    • beforeTouch

      void beforeTouch(CRCSession session, String path, long time)
      Called before touching a file.
      Since:
      4.1.14, 4.0.136
    • afterTouch

      void afterTouch(CRCSession session, String path, long time)
      Called after touching a file.
      Since:
      4.1.14, 4.0.136
    • beforeSwitch

      void beforeSwitch(CRCSession session, String oldPath, String newPath)
      Called before switching two paths.
      Since:
      4.1.14, 4.0.136
    • afterSwitch

      void afterSwitch(CRCSession session, String oldPath, String newPath)
      Called after switching two paths.
      Since:
      4.1.14, 4.0.136
    • beforeMkdir

      void beforeMkdir(CRCSession session, String path)
      Called before creating a directory.
      Since:
      4.1.14, 4.0.136
    • afterMkdir

      void afterMkdir(CRCSession session, String path)
      Called after creating a directory.
      Since:
      4.1.14, 4.0.136