edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Synchronizes the given local directory with the given remote directory according to the synchronization rules in DefaultSyncRules.

Namespace: EnterpriseDT.Net.Ftp
Assembly: 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 Also