SCP transfer file
1. Download the file from the server
scp username@servername:/filepath/filename /localpath/local
Example:
scp [email protected]:/mydata/batch/mytest.dmp /tmp/local
2. Upload the file to the server
scp /tmp/myfile username@servername:/path/mydata
Example:
scp /tmp/mytest.dmp [email protected]:/mydata/batch