Spark should delete a resulting file if file transfer was cancelled

Description

When a file transfer is cancelled (by either side) on a receiving side incomplete file is left in the downloading directory. The file is incomplete and even if sender retries sending it is still overwritten (no download continuation), so there is no point of leaving it. It should be deleted if possible.

Environment

None

Assignee

Unassigned

Reporter

wroot

Expected Effort

None

Ignite Forum URL

None

Components

Affects versions

Priority

Minor
Configure