Do not delete file after Transfer failure.

parent 5bd4920c
......@@ -776,8 +776,6 @@ namespace Arc {
URL dest_url(cacheable ? chdest.GetURL() : destination.GetURL());
DataStatus datares = source_url.Transfer(dest_url, true, show_progress ? transfer_cb : NULL);
if (!datares.Passed()) {
DataHandle d(destination.GetURL(), destination.GetUserConfig());
Delete(*d);
if (source.NextLocation()) {
logger.msg(VERBOSE, "(Re)Trying next source");
continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment