how to cp between servers on diff network

Hi,

how can i sftp or scp between 2 servers, when only i am able to ping to them.
they are on different network
10.130.170.31 -- server 1
10.130.230.141 -- server 2

i need to transfer data files from 1 to 2.
need your suggestions or help on these.

Regards
saha

Read manul of ftp,sftp, rcp.
Using ftp, you could just put or get a filename.

man ftp

yes i try to sftp, ftp to the server2, but unable to get connected.
sftp user1@gcadminst.gc.org
Connecting to gcadminst.gc.org...................
but never gets connected, i tried with scp,ftp too.

This most likely means that there are no daemons/listeners on the remote server. You will need to contact the system administrator of those servers and setup some sort of data transferring software - this could be OpenSSH's sftp, or some FTP server, as suggested above.

thank you, i will followup with the system guys.