How to pass password using scp in commandline

SCP <filename> <user>@<Toserveraddress>:<path>

Here i want to use password also , how can i use ????

hi,

don't!
s stands for 'secure'; using clear passwords in a script is not secure.
use public key authentication.

How to use, could you please provide an example

If you do some Google, you should see many links explain how to. For example, this and this may be something you can start with...