working remote output file transfer