public FTPSyncResults Synchronize(
string localDirectory,
string serverDirectory,
FTPSyncRules syncRules
)Public Function Synchronize (
localDirectory As String,
serverDirectory As String,
syncRules As FTPSyncRules
) As FTPSyncResultspublic:
FTPSyncResults^ Synchronize(
String^ localDirectory,
String^ serverDirectory,
FTPSyncRules^ syncRules
)member Synchronize :
localDirectory : string *
serverDirectory : string *
syncRules : FTPSyncRules -> FTPSyncResults Synchronization aims to ensure that the files in a directory on the local machine match those in a directory on the remote machine.
The instructions contained in FTPSyncRules inform the synchronization process how files should be matched. If these rules are insufficient then the SynchronizingFile event may be used to provide customized logic for matching files.
The Synchronizing and Synchronized events are triggered before and after the synchronization operation is performed, respectively.