edtFTPnet/Express - Class Reference

ExFTPConnection.SynchronizingFile Event

Triggered when a decision is being made on how to synchronize a particular file (i.e. transfer, delete or skip).

public event FTPSyncFileEventHandler SynchronizingFile;

Event Data

The event handler receives an argument of type FTPSyncFileEventArgs containing data related to this event. The following FTPSyncFileEventArgs properties provide information specific to this event.

Property Description
Action  
LocalFile  
LocalFileExists  
RemoteFile  
RemoteFileExists  
SynchronizationRules  

Remarks

This event may be used to set the action that is to be taken during the synchronization operation. The event arguments (FTPSyncFileEventHandler) gives access to information about each file, including name, path, date and size. These may be used to decide what sort of action should be taken, which is done by setting the Action property.

See Also

ExFTPConnection Class | EnterpriseDT.Net.Ftp Namespace