Description
-
Determines if
SftpFileTransferData event is fired during file upload/download.
Property type
-
An MonitorTransfersEnum
enumeration.
Syntax
-
object.MonitorTransfers [=
value]
The MonitorTransfers Property syntax has these parts:
Settings
-
The settings for value are:
 |
MonitorNone |
0 |
SftpFileTransferData event never
fires. |
 |
OnlyUploads |
1 |
StpFileTransferData event fires
during uploads. |
 |
OnlyDownloads |
2 |
SttpFileTransferData event fires
during downloads. |
 |
MonitorAll |
3 |
SftpFileTransferData event fires
for both uploads and downloads. |
Remarks
-
MonitorTransfers property defines if
SftpFileTransferData event is fired by the component. When this
property is set to other than MonitorNone,
SftpFileTransferData 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.
|