On 2007/04/11 13:41, Bryan Irvine wrote: > <snip> > >I agree, spaces in filenames should be avoided. But spaces in > >filenames are legal, so programs need to support that; this seems like > >a case scp was never tested against because no one uses files with > >those names. > > I scp'd a file called 'a b' to an openbsd server here, then scp'd it > back a couple time in different ways. It worked only when using the > quotes AND escaping, like so: > > scp [EMAIL PROTECTED]:"a\ b" .
you have to escape to *both* your local shell, and the remote shell