Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

OverwriteCondition Enum

Namespace: Rebex.IO
Assembly: Rebex.Common.dll (version 7.0.9147)

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.
You can check availability of this condition using IsOverwriteConditionPossible(OverwriteCondition) method.

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.

In This Article
  • Fields
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies