SecureBlackbox Lite 2020 C++ Builder Edition

Questions / Feedback?

FileOperation Event

Signifies the start of a file transfer operation.

Syntax

typedef struct {
  int Operation;
  String RemotePath;
  String LocalPath;
  bool Skip;
  bool Cancel;
} TsbiSFTPClientFileOperationEventParams;

typedef void __fastcall (__closure *TsbiSFTPClientFileOperationEvent)(System::TObject* Sender, TsbiSFTPClientFileOperationEventParams *e);

__property TsbiSFTPClientFileOperationEvent OnFileOperation = { read=FOnFileOperation, write=FOnFileOperation };

Remarks

This event is fired each time the component starts an upload or download operation within a multi-file call. Operation defines the operation about to start, RemotePath specifies the name and path to the remote file, and LocalPath specifies the name and path to the local file.

If needed, set Skip to true to ignore the current file, or Cancel to abort the whole batch.

Supported operations:

csfoDownloadFile0Download file

csfoUploadFile1Upload file

csfoDeleteFile2Delete file

csfoMakeDir3Make directory

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox Lite 2020 C++ Builder Edition - Version 20.0 [Build 8166]