Synchronizes the given local directory with the given remote directory
according to the synchronization rules in DefaultSyncRules.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
| C# |
|---|
public FTPSyncResults Synchronize( string localDirectory, string serverDirectory ) |
| Visual Basic |
|---|
Public Function Synchronize ( _ localDirectory As String, _ serverDirectory As String _ ) As FTPSyncResults |
| Visual C++ |
|---|
public: FTPSyncResults^ Synchronize( String^ localDirectory, String^ serverDirectory ) |
Parameters
- localDirectory
- Type: System..::..String
Directory on the local machine to synchronize.
- serverDirectory
- Type: System..::..String
Directory on the server to synchronize.
Return Value
[!:FTPSyncReport] containing results of synchronization operation
Remarks
See Synchronize(String, String, FTPSyncRules) for more details.