title: Command Line to transfer file between 2 different servers in different networks
body: <p>I would like to create a batch file for Task Scheduler runs every hour on taking following actions.</p>
  
  <p>A. File "apple" in Folder "fruits" at Server A on IP Address/Network A.</p>
  
  <p>B. File "apple" in Folder "fruits" at Server B on IP Address/Network B.</p>
  
  <p>File "apple" from Server A will transfer/copy to Server B and rename as File "apple_bk".</p>
  
  <p>File "apple" from Server B will rename into File "apple_20130101_bak". (combine time-stamp)</p>
  
  <p>File "apple_bk" in Server B will rename back into File "apple".</p>
  
  <p>Both servers are Windows Server.</p>
  
  <p>Above are in different networks, how to connecting by using command line and transferring the file?</p>