The FtpBatchTransferProblemDetectedEventArgs type exposes the following members.
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.) | |
IsActionPossible |
Determines whether the specified action is currently possible - use this to determine whether the Action property can be set to the desired action.
| |
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 | |
---|---|---|
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.
|