FtpTransferProgressEventArgs Constructor
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9119)
FtpTransferProgressEventArgs(FtpTransferState, Int64)
Initializes a new instance of the FtpTransferProgressEventArgs class with the specified state and number of bytes transferred during the current transfer.
Declaration
public FtpTransferProgressEventArgs(FtpTransferState state, long bytesTransferred)
Parameters
Type | Name | Description |
---|---|---|
FtpTransferState | state | Current state. |
Int64 | bytesTransferred | Number of bytes transferred. Ignored if state is FtpTransferState.None. |
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.
Declaration
public FtpTransferProgressEventArgs(FtpTransferState state, long bytesTransferred, int bytesSinceLastEvent)
Parameters
Type | Name | Description |
---|---|---|
FtpTransferState | state | Current state. |
Int64 | bytesTransferred | Number of bytes transferred. Ignored if state is FtpTransferState.None. |
Int32 | bytesSinceLastEvent | Number of bytes transferred since the last time the event was raised. Ignored if state is FtpTransferState.None. |