ScpSend.pump

bool pump()

Advances the transfer as far as channel windows and protocol state allow; never blocks and never reenters the caller. Malformed remote records fail the operation through error and the cleanup path; they never escape the pump after the destination was created.

Returns

True when progress was made.