FtpBatchTransferAction Enum
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9119)
Specifies the action to resolve the current problem detected using the Rebex.Net.Ftp.BatchTransferProblemDetected event.
Syntax
[Flags]
public enum FtpBatchTransferAction
Fields
Name | Description |
---|---|
FollowLink | Resolve the symbolic link. |
Overwrite | Overwrite target file with the same name. |
OverwriteIfDifferentSize | Overwrite target file with the same name if it has a different size. |
OverwriteIfOlder | Overwrite target file with the same name if it is older than the source file. This is strongly discouraged because modification dates are often misreported by SFTP servers, making this mode highly unreliable. We strongly recommend to select a different action or to develop a custom solution and choose either Overwrite or Skip action instead. |
Rename | Upload the source file to a different name. NewName of the event argument must be set to the desired name. |
Resume | Resume target file. |
Retry | Retry the current operation again. |
Skip | Skip the current problematic item. |
ThrowException | Cancel the whole multi-file transfer. Do no transfer any other files. |