In using SCP to move files between machines, if the path or file has spaces in it, this will not work:
scp foo.com:/home/fubar/some\ folder/file.txt ./
And neither will this:
scp foo.com:"/home/fubar/some folder/file.txt" ./
But this will:
scp foo.com:"/home/fubar/some\ folder/file.txt" ./
So be sure to use double quotes to enclose the path and escape the spaces with a backslash.