Dela via


TransferMetadata Class

Definition

Represents general metadata pertaining to an transfer.

public class TransferMetadata
type TransferMetadata = class
Public Class TransferMetadata
Inheritance
TransferMetadata

Properties

Delimiter

Gets a value indicating the record boundary delimiter for the file, if any.

EncodingCodePage

Gets the CodePage of the current encoding being used.

FileLength

Gets or sets a value indicating the length (in bytes) of the file to be transferred.

InputFilePath

/Gets or sets a value indicating the full path to the file to be transferred.

IsBinary

Gets a value indicating whether the transfer file should be treated as a binary file or not.

IsDownload

Gets or sets a value indicating whether this instance is a download instead of an transfer.

SegmentCount

Gets or sets a value indicating the number of segments this file is split into for purposes of transfering it.

SegmentLength

Gets or sets a value indicating the length (in bytes) of each segment of the file (except the last one, which may be less).

Segments

Gets a pointer to an array of segment metadata. The segments are ordered by their segment number (sequence).

SegmentStreamDirectory

Gets or sets a value indicating the directory path where intermediate segment streams will be stored.

Status

Gets or sets a value indicating the current transfer status for this file transfer. This value is checked for folder transfer progress and resuming. Single file transfers use segment status for tracking.

TargetStreamPath

Gets or sets a value indicating the full stream path where the file will be transferred to.

TransferId

Gets or sets a value indicating the unique identifier associated with this transfer.

Methods

DeleteFile()

Deletes the metadata file from disk.

Applies to