<div dir="ltr"><div class="gmail_extra">On Mon, Jul 1, 2013 at 4:23 AM, garvit sharma <span dir="ltr"><<a href="mailto:garvits45@gmail.com" target="_blank">garvits45@gmail.com</a>></span> wrote:<br><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">please tell me for what time will rsync wait if the connection breaks during the file transfer ??</div>
<div class="HOEnZb">
</div></blockquote></div><br>Rsync shouldn't wait any amount of time on a connection break, but it only notices if it does a read or write on the pipe/socket and gets a failure.  If, for instance, it's still connected to your remote shell process via a pipe (perhaps that process hasn't failed yet?) then rsync will wait around for that pipe to close down before it would get an error.  The --timeout option just puts a limit on how long rsync will wait around with nothing happening on the socket.<br>

<br clear="all"><div>..wayne..</div>
</div></div>