SecureBlackbox Lite 2020 Node.js Edition

Questions / Feedback?

FileOperationResult Event

Reports the result of a file transfer operation.

Syntax

ftpclient.on('FileOperationResult', [callback])

Callback

The 'callback' is called when the 'FileOperationResult' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.operation
e.remotePath
e.localPath
e.errorCode
e.comment
e.cancel

Remarks

The class fires this event from DownloadFiles and UploadFiles to notify the application of the completion of a file operation.

ErrorCode and Comment provide the details of the operation. Use the Cancel parameter to terminate the whole multi-file operation if needed.

Operations:

cffoDownloadFile0Download file

cffoUploadFile1Upload file

cffoDeleteFile2Delete file

cffoMakeDir3Make directory

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