When copying a file with whitespaces using scp, one has to "escape whitespaces twice", once for the local and once for the remove side. An scp command could look like that:

scp user@server:"'/path/to/file with whitespaces.txt'" .

Sources