OverwriteCondition Enum
Namespace: Rebex.IO
Assembly: Rebex.Common.dll (version 7.0.9083)
Specifies the condition for overwriting a file.
Syntax
public enum OverwriteCondition
Fields
Name | Description |
---|---|
ChecksumDiffers | Overwrite if checksum differs.
Available for ZIP, FTP and SFTP. However, only some FTP and SFTP servers support checksums. |
None | No condition = always overwrite. |
Older | Overwrite if the target file is older than the source file. If working with remote servers, this condition is strongly discouraged because modification dates are often misreported by FTP servers, making this mode highly unreliable. |
SizeDiffers | Overwrite if size differs. |