Thanks – I’ve been trying to work out how to do this for months! It never occurred to me to escape both the local and remote paths.