Bug 12525 - [PATCH] Avoid uploading whole file when transfer fails
Summary: [PATCH] Avoid uploading whole file when transfer fails
Status: RESOLVED MOVED
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.3
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on: 12522
Blocks:
  Show dependency treegraph
 
Reported: 2017-01-17 20:28 UTC by Ben RUBSON
Modified: 2020-05-26 17:14 UTC (History)
0 users

See Also:


Attachments
Avoid uploading whole file when transfer fails (335 bytes, patch)
2017-01-17 20:28 UTC, Ben RUBSON
no flags Details
Avoid uploading whole file when transfer fails (369 bytes, patch)
2017-01-18 14:01 UTC, Ben RUBSON
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben RUBSON 2017-01-17 20:28:41 UTC
Created attachment 12839 [details]
Avoid uploading whole file when transfer fails

Hello,

Here is a patch which stops file upload when it fails.
This can be useful for example when the remote FS is full, and client is uploading big files.

First apply https://bugzilla.samba.org/show_bug.cgi?id=12522
Then the attached patch.

Thank you !

Ben
Comment 1 Ben RUBSON 2017-01-18 14:01:35 UTC
Created attachment 12842 [details]
Avoid uploading whole file when transfer fails
Comment 2 Ben RUBSON 2020-05-26 17:14:42 UTC
Patch moved : https://github.com/WayneD/rsync/pull/3