Back to product page

MonitorTransfers property


Determines if FileTransferData event is fired during file upload/download.

Type

A MonitorTransfersEnum enumeration.

Syntax

  • Basic
object.MonitorTransfers [= value]
The MonitorTransfers(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodFTPD.
valueA MonitorTransfersEnum enumeration, as described in settings.

Remarks

MonitorTransfers property defines if FileTransferData event is fired by the component. When this property is set to other than MonitorNone, FileTransferData is fired before each packet is to be transmitted to the client - or after it is received from the client but saved to a disk. This allows you to alter contents of incoming packet.

Since firing events can be time consuming process - especially during file transfers, you should leave this property to MonitorNone if you don't indent to monitor transfers.

The settings for value are:
Constant Value Description
MonitorNone0 FileTransferData event never fires.
OnlyUploads 1 FileTransferData event fires during uploads.
OnlyDownloads2 FileTransferData event fires during downloads.
MonitorAll 3 FileTransferData event fires for both uploads and downloads.

Platforms

Windows