FileTransferProgressEventArgs Class

Provides data for file transfer progress event.

Syntax

Namespace: WinSCP

Advertisements:
C#
public sealed class FileTransferProgressEventArgs : EventArgs
VB.NET
Public NotInheritable Class FileTransferProgressEventArgs
    Inherits EventArgs

Properties

Name Description
bool Cancel Set to true to cancel the transfer. This feature is available only in the latest beta release.
int CPS Transfer speed (bytes per second). Read-only.
string Directory Source directory of file being transferred. Read-only.
string FileName Name of file being transferred. In latest beta version, a full path to a file being transferred. Read-only.
double FileProgress Progress of current file transfer (0-1). Read-only.
ProgressOperation Operation Currently, it can only have one value, ProgressOperation.Transfer. Read-only.
double OverallProgress Overall progress of whole transfer batch (0-1). Read-only.
ProgressSide Side Origin of the transfer. ProgressSide.Local for uploads, ProgressSide.Remote for downloads. Read-only.

Remarks

This class is used by Session.FileTransferProgress event.

 
  library_filetransferprogresseventargs.txt · Last modified: by martin
 

Search

This page

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

Associations

Site design by Black Gate