property DeleteFailed : TApxDeleteFailed
TApxDeleteFailed = (dfNever, dfAlways, dfNonRecoverable);
Default: dfNonRecoverable
Determines whether received files are deleted after a protocol failure.
When a protocol receive session fails, there might be a partially received file in the destination directory (depending on when and why the session failed). DeleteFailed controls whether the TApxProtocol OnProtocolLog event handler automatically deletes a partial file. DeleteFailed can have one of the following values:
|
|
|
|
|
|
Width1Width3Width2088 Width3Width5097 |
|
Regardless of the value of DeleteFailed, received files are never deleted when the protocol error is ecCantWriteFile, since that error usually indicates that the receiver doesn't want to disturb an existing file with the same name.