Unable to execute scp command

How to move from remote web server to the local machine. For example , from bob@devapp01 to bob@caleston.

Try this command:

sudo scp bob@caleston:~

I tried but it didn’t work out.

If you want to copy file from server to another remote server
scp file.txt bob@caleston:/remote/directory