wodFTPServer ActiveX Control - MonitorTransfers Property
      
 

Description

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


Property type

A MonitorTransfersEnum enumeration.  


Syntax

object.MonitorTransfers [= value]



The MonitorTransfers Property syntax has these parts:

Part Description
object An expression evaluating to an object of type wodFTPD.
value A MonitorTransfersEnum enumeration, as described in settings.

Settings

The settings for value are:

Constant Value Description
 MonitorNone 0 FileTransferData event never fires.
 OnlyUploads 1 FileTransferData event fires during uploads.
OnlyDownloads 2 FileTransferData event fires during downloads.
MonitorAll 3 FileTransferData event fires for both uploads and downloads.

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.