Zum Hauptinhalt springen

SftpUploadNodeConfiguration

Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Load

Configuration node object for uploading a file via SFTP

public record SftpUploadNodeConfiguration : PathNodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, IPathNodeConfiguration, IEquatable<PathNodeConfiguration>, IEquatable<SftpUploadNodeConfiguration>

Inheritance Object → NodeConfiguration → PathNodeConfiguration → SftpUploadNodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, IPathNodeConfiguration, IEquatable<PathNodeConfiguration>, IEquatable<SftpUploadNodeConfiguration>

Properties​

ServerConfiguration​

Name of the global configuration for the SFTP server

public string ServerConfiguration { get; set; }

Property Value​

String

RemoteDirectory​

Remote directory path on the SFTP server

public string RemoteDirectory { get; set; }

Property Value​

String

FileName​

Static file name for the uploaded file

public string FileName { get; set; }

Property Value​

String

FileNamePath​

Path in the data context to resolve the file name dynamically

public string FileNamePath { get; set; }

Property Value​

String

FileRtId​

Static RtId of a binary file in MongoDB large binary storage

public string FileRtId { get; set; }

Property Value​

String

FileRtIdPath​

Path in the data context to resolve the RtId of a binary file dynamically

public string FileRtIdPath { get; set; }

Property Value​

String

Encoding​

Encoding used for string content (e.g. utf-8, windows-1252, iso-8859-1). Applies only to content resolved via ; binary sources are uploaded byte-for-byte. Unknown names are rejected when the pipeline configuration is bound, so a typo fails the deployment instead of the first upload.

public string Encoding { get; set; }

Property Value​

String

OnEncodingError​

How to handle characters the configured encoding cannot represent: Replace substitutes a single '?' per character and logs a warning naming the affected code points; Fail aborts before the upload starts, so no degraded file reaches the target.

public EncodingErrorHandling OnEncodingError { get; set; }

Property Value​

EncodingErrorHandling

Path​

public string Path { get; set; }

Property Value​

String

Description​

public string Description { get; set; }

Property Value​

String

Constructors​

SftpUploadNodeConfiguration()​

Caution​

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


public SftpUploadNodeConfiguration()