How to send and recieive file without scp?

To send a file:

cat <file> | ssh <user>@<server> "cat > <remote>"

or

ssh <user>@<server> "cat > <remote>" < <file>

To receive a file:

ssh <user>@<server> "cat <remote>" > <local>