re-connecting seem to work, also re-connect and start transfering if the connection drops mid transfer. But how I append to the file after the connection restart I have yet to solve.