Bug 12525 - [PATCH] Avoid uploading whole file when transfer fails
[PATCH] Avoid uploading whole file when transfer fails
Status: NEW
Product: rsync
Classification: Unclassified
Component: core
3.1.2
All All
: P5 normal
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on: 12522
Blocks:
  Show dependency treegraph
 
Reported: 2017-01-17 20:28 UTC by Ben RUBSON
Modified: 2017-01-18 14:01 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