Skip to main content

SftpDeleteNodeConfiguration

Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Load

Configuration node object for deleting one file from an SFTP server: it removes the file SftpDownload@1 read, once the content has been processed, which is the contract a file drop-off works by.

public record SftpDeleteNodeConfiguration : NodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, IEquatable<SftpDeleteNodeConfiguration>

Inheritance Object → NodeConfiguration → SftpDeleteNodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, IEquatable<SftpDeleteNodeConfiguration>

Properties

ServerConfiguration

Name of the global configuration for the SFTP server

public string ServerConfiguration { get; set; }

Property Value

String

RemotePath

Static remote path of the file to delete (set this or RemotePathPath)

public string RemotePath { get; set; }

Property Value

String

RemotePathPath

Path in the data context to resolve the remote path dynamically; takes precedence over RemotePath

public string RemotePathPath { get; set; }

Property Value

String

OnMissingFile

What to do when the file is not there any more: Fail reports it as a node failure, Ignore logs a warning and lets the chain continue, because the goal state - the file is gone - is reached either way.

The default is the strict one, and it is the zero member as well, so a definition that says nothing about this cannot end up lenient. A pipeline that repeats a partially finished run wants Ignore, but that is something the pipeline states rather than something this node grants every caller.

public MissingFileHandling OnMissingFile { get; set; }

Property Value

MissingFileHandling

Description

public string Description { get; set; }

Property Value

String

Constructors

SftpDeleteNodeConfiguration()

Caution

Constructors of types with required members are not supported in this version of your compiler.


public SftpDeleteNodeConfiguration()