SecureBlackbox 2020 Python Edition

Questions / Feedback?

on_find_close Event

This event signifies the completion of a custom file listing operation.

Syntax

class SFTPServerFindCloseEventParams(object):
  @property
  def connection_id() -> int: ...
  @property
  def handle() -> str: ...
  @property
  def operation_status() -> int: ...
  @operation_status.setter
  def operation_status(value) -> None: ...

# In class SFTPServer:
@property
def on_find_close() -> Callable[[SFTPServerFindCloseEventParams], None]: ...
@on_find_close.setter
def on_find_close(event_hook: Callable[[SFTPServerFindCloseEventParams], None]) -> None: ...

Remarks

on_find_close notifies your code about the completion of a custom file listing request. Use it in conjunction with on_find_first and on_find_next to handle file listing requests manually.

See on_find_first topic for the details on implementing customized file listing request processing.

Set OperationStatus to one of the below values according to the outcome of the request processing:

ostOk1
ostNoSuchFile2
ostAccessDenied3
ostWriteProtect4
ostUnsupported5
ostInvalidParameter6
ostEOF7

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Python Edition - Version 20.0 [Build 8154]