edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Click or drag to resize

FTPSyncRules Class

Contains a set of instructions for how a synchronization operation should be performed.
Inheritance Hierarchy
SystemObject
  EnterpriseDT.Net.FtpFTPSyncRules

Namespace:  EnterpriseDT.Net.Ftp
Assembly:  edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntax
public class FTPSyncRules : ICloneable

The FTPSyncRules type exposes the following members.

Constructors
  NameDescription
Public methodFTPSyncRules
Initializes a new instance of the FTPSyncRules class
Top
Properties
  NameDescription
Public propertyDeleteIfSourceAbsent
When set, this flag will advise that if a file exists on the target but not on the source then that file should be deleted.
Public propertyDirection
Controls the direction of synchronization.
Public propertyFileNameFilter
File-name filter that controls which files are synchronized.
Public propertyFilterCallback
FileFilter callback to be called each time a file is to be filtered.
Public propertyFilterOnServer
Controls whether files are filtered on the client (the default) or on the server. Requires server to support filtering.
Public propertyFilterType
Controls whether the FileNameFilter should be interpreted as a wildcard string or a regular expression.
Public propertyIgnoreCase
Determines whether or not case is ignored when matching file-names.
Public propertyIgnoreDate
Controls whether or not dates are taken into consideration when performing file comparisons.
Public propertyIncludeFilesInFilter
Controls whether the filter is an inclusion-filter or an exclusion-filter.
Public propertyIncludeSubdirectories
When set, this flag will cause files in subdirectories to be included in the synchronization operaton.
Public propertyStopOnError
When set, this flag will cause synchronization to stop when errors occur.
Public propertySyncLocalDateAfterDownload
When set, this flag will cause the control to set the date of the local file to be the same as the remote file after the file has been downloaded.
Public propertyTransferAlways
Causes files to be transferred regardless of date and size.
Public propertyTransferMatchingOnly
If TransferMatchingOnly is set then only files that exist both on the source and target file-systems will be considered.
Public propertyTransferNewOnly
If TransferNewOnly is set then only files that do not exist on the target file-system will be considered.
Top
Methods
  NameDescription
Public methodClone
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

See Also