共用方式為


TransferFolderMetadata Class

Definition

Represents general metadata pertaining to a transfer.

public class TransferFolderMetadata
type TransferFolderMetadata = class
Public Class TransferFolderMetadata
Inheritance
TransferFolderMetadata

Constructors

TransferFolderMetadata(String, TransferParameters, IFrontEndAdapter)

Constructs a new TransferFolderMetadata object from the given parameters.

Properties

FileCount

Gets or sets a value indicating the number of files in this transfer.

Files

Gets a pointer to an array of file transfer metadata. This is used for each file that is being transferred.

InputFolderPath

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

IsRecursive

Gets a value indicating whether this is recurisve directory transfer or a flat directory transfer

TargetStreamFolderPath

Gets or sets a value indicating the full stream folder path that will be used as the root folder for all files and folders being transferred.

TotalFileBytes

Gets or sets the total bytes for all the files.

TransferId

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

Methods

DeleteFile()

Deletes the metadata file from disk.

Save()

Saves the given metadata to its canonical location. This method is thread-safe.

Applies to