The FtpTransferProgressEventArgs type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FtpTransferProgressEventArgs(FtpTransferState, Int64) |
Initializes a new instance of the FtpTransferProgressEventArgs class with the specified state
and number of bytes transferred during the current transfer.
| |
FtpTransferProgressEventArgs(FtpTransferState, Int64, Int32) |
Initializes a new instance of the FtpTransferProgressEventArgs class with the specified state,
number of bytes transferred during the current transfer and progress since the last time the event was raised.
|
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
BytesPerSecond |
Gets the current transfer speed in bytes transferred per second (or 0 if not available).
| |
BytesSinceLastEvent |
Gets the number of bytes transferred during the current transfer since the last time the event was raised.
| |
BytesTotal |
Gets the total number of bytes to be processed (or -1 if not available).
| |
BytesTransfered | Obsolete. | |
BytesTransferred |
Gets the total number of bytes transferred during the current transfer.
| |
Finished |
Gets the value indicating whether the transfer has finished.
| |
LocalPath |
Gets the path of the local file or directory which is currently processed.
| |
ProgressPercentage |
Gets a number between 0 and 100 representing the percentage of completeness of the operation.
| |
RemotePath |
Gets the path of the remote file or directory which is currently processed.
| |
State |
Gets the transfer state.
|