Xceed FTP Library Documentation
EventFilter property
XceedFtp control reference > Properties > EventFilter property

Description

This property allows you to specify which events the XceedFtp control will trigger. Events that are not needed can be disabled by using this property.

For example, if your application does not need to receive real-time status reports, you can eliminate the overhead of triggering an event and therefore improve the library’s performance by disabling the FileTransferStatus event.

You can combine various EXFEvents values together by using your development language’s bitwise-OR operator.

Data type

EXFEvents

Possible values
 

Enum Value Meaning
fevDisconnected 0x0001 Trigger the Disconnected event.
fevFileMatched 0x0002 Trigger the FileMatched event.
fevFileTransferStatus 0x0004 Trigger the FileTransferStatus event.
fevLoggingCommandLine 0x0010 Trigger the LoggingCommandLine event.
fevProcessCompleted 0x0040 Trigger the ProcessCompleted event.
fevReceivingFile 0x080 Trigger the ReceivingFile event.
fevReceivingMemoryFileData 0x0100 Trigger the ReceivingMemoryFileData event.
fevReplacingFile 0x0200 Trigger the ReplacingFile event.
fevScanningFolder 0x0400 Trigger the ScanningFolder event.
fevSendingFile 0x800  Trigger the SendingFile event.
fevSkippingFile 0x1000 Trigger the SkippingFile event.
fevAccountRequired 0x2000 Trigger the AccountRequired event.
fevPasswordRequired 0x4000 Trigger the PasswordRequired event.
fevAll 0x7fff Trigger all events.

Default value

fevAll (All events are active)

Declaration  

HRESULT EventFilter( [out, retval] EXFEvents* peVal );

HRESULT EventFilter( [in] EXFEvents eVal );