The SftpBatchTransferProblemDetectedEventArgs type exposes the following 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 property is set to SftpBatchTransferAction.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(SftpBatchTransferAction) method.
| |
ProblemType |
Gets the type of the error that furher 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.
|