Fix file transfer when not using an explicit host / username