Unable to execute scp command

How to move from remote web server to the local machine. For example , from [email protected] to [email protected]

Try this command:

sudo scp [email protected]:~

I tried but it didn’t work out.

If you want to copy file from server to another remote server
scp file.txt [email protected]:/remote/directory