Connected successfullyCould not write to remote file