FtpBatchTransferProblemDetectedEventArgs Class
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9448)
Provides data for the BatchTransferProgress event.
Syntax
public class FtpBatchTransferProblemDetectedEventArgs : EventArgs
Inherited Members
Properties
| Name | Description |
|---|---|
| Action | Gets or sets the currently selected next action. Specifies the operation to perform as the step of the multi-file transfer execution. |
| Exception | Gets the exception which will be raised if Action propety is set to FtpBatchTransferAction.ThrowException. The ProblemType property contains further description. |
| LocalFileLength | Gets the length of the local file that is currently processed. If the problem isn't related to a file or if this information is not available, -1 is returned. |
| LocalFileModified | Gets the last modification time of the local file that is currently processed. If the problem isn't related to a file or if this information is not available, DateTime.MinValuue is returned. |
| LocalPath | Gets the path of the local file or directory that is currently processed. |
| NewName | Gets or sets the new name for the currently processed file or directory. If the currently selected action is set to Rename, this property has to be set; otherwise it is ignored. |
| PossibleActions | Gets a mask of possible actions that can be selected to be performed. ThrowException can always be set. Use the binary 'AND' operator to determine whether a specific action is currently possible or simply call the IsActionPossible(FtpBatchTransferAction) method. |
| ProblemType | Gets the type of the error that further describes the problem. |
| RemoteFileLength | Gets the length of the remote file that is currently processed. If the problem isn't related to a file or if this information is not available, -1 is returned. |
| RemoteFileModified | Gets the last modification time of the remote file that is currently processed. If the problem isn't related to a file or if this information is not available, DateTime.MinValue is returned. |
| RemotePath | Gets the path of the remote file or directory that is currently processed. |
| State | Gets the transfer state. |
Methods
| Name | Description |
|---|---|
| IsActionPossible(FtpBatchTransferAction) | Determines whether the specified action is currently possible - use this to determine whether the Action property can be set to the desired action. |