Hi,<br><br>I need to set the bandwidth of rsync at runtime depending on the amount of bytes I have to transfer from a remote server. I'd like to start rsync with the bwlimit option and then let rsync change this limit on runtime if the amount of size is too big (for my requirements).<br>
<br>My first idea was to modify the bwlimit variable into io.c reading "stat.total_size" and adding a conditional control, but it doesn't work. <br><br>If I set the bwlimit equal to a constant it works, but it's usless for me. <br>
I'm using the 3.0.7 version.<br><br><br>Thanks.<br><br><br> <br>