<div dir="ltr">On Tue, Sep 3, 2013 at 1:44 AM, Marcin Polkowski <span dir="ltr"><<a href="mailto:marcin@marcinpolkowski.com" target="_blank">marcin@marcinpolkowski.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
I‘m transferring 1.1 Mb files over very poor GSM EDGE connection. My 
rsync command is:<br></div></blockquote><div>[... using --append ...] </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div bgcolor="#FFFFFF" text="#000000">File on remote server “grows” in size in steps of 262144 bytes.</div></blockquote><div><br></div><div>This is apparently due to the in-place code (which --append uses) not setting any cleanup flags for the transferred files, and thus all the cached data that has accumulated in the file buffer is never flushed.  I'm checking in a change that will improve the cleanup code to support in-place files (which will go out with 3.1.0).</div>

<div><br></div><div>In the meantime, if you want to just tweak your 3.0.7 version, edit the fileio.c file and change the line "<span style="color:rgb(0,0,0)">wf_writeBufSize = WRITE_SIZE * 8;" to set just WRITE_SIZE (not * 8).</span></div>

<div> </div></div></div><div class="gmail_extra"><div>..wayne..</div><div><br></div></div></div>