public sealed record FileTransferProgress : IEquatable<FileTransferProgress> How far a file transfer is.
Parameters
CompletedItemsFiles, directories and links done or skipped.
TotalItemsFiles, directories and links in every source.
CompletedBytesBytes of file content done or skipped.
TotalBytesBytes of file content in every source.
CurrentPathThe source entry being transferred, or
nullonce the transfer completed.
Constructors
FileTransferProgress
public FileTransferProgress(int CompletedItems, int TotalItems, long CompletedBytes, long TotalBytes, string? CurrentPath) How far a file transfer is.
Parameters
CompletedItemsFiles, directories and links done or skipped.
TotalItemsFiles, directories and links in every source.
CompletedBytesBytes of file content done or skipped.
TotalBytesBytes of file content in every source.
CurrentPathThe source entry being transferred, or
nullonce the transfer completed.
Properties
CompletedBytes
public long CompletedBytes { get; init; } Bytes of file content done or skipped.
CompletedItems
public int CompletedItems { get; init; } Files, directories and links done or skipped.
CurrentPath
public string? CurrentPath { get; init; } The source entry being transferred, or null once the transfer completed.
TotalBytes
public long TotalBytes { get; init; } Bytes of file content in every source.
TotalItems
public int TotalItems { get; init; } Files, directories and links in every source.