Don't use deprecated scp_ul.
Make SCP disconnection resistant.
Fix broken SCP mkdir.