Specifies the action to resolve the current problem detected using the BatchTransferProblemDetected event.

Namespace:  Rebex.Net
Assembly:  Rebex.Sftp (in Rebex.Sftp.dll)

Syntax

Visual Basic
<FlagsAttribute> _
Public Enumeration SftpBatchTransferAction
C#
[FlagsAttribute]
public enum SftpBatchTransferAction

Members

Member nameDescription
Skip
Skip the current problematic item.
Overwrite
Overwrite target file with the same name.
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.
OverwriteIfDifferentSize
Overwrite target file with the same name if it has a different size.
Rename
Upload the source file to a different name. NewName of the event argument must be set to the desired name.
Retry
Retry the current operation again.
FollowLink
Resolve the symbolic link.
Resume
Resume target file.
ThrowException
Cancel the whole multi-file transfer. Do no transfer any other files.

Version Information

.NET Framework

Supported in: 4.8, 4.7.x, 4.6.x, 4.5.x, 4.0, 3.5 SP1

.NET Standard 2.0

Supported in: .NET Core 3.1, 3.0, 2.1; Xamarin.Android 9.1 (or higher); Xamarin.iOS 10.3 (or higher)

See Also