title: Using nc to transfer large file
body: <p>I have a compressed file size of about 9.5 GB and want to transfer from one server to another server, I tried to use like the below,</p>
  
  <p>server2:</p>
  
  <p>nc -lp 1234 > file.tar.gz</p>
  
  <p>server1:</p>
  
  <p>nc -w 1  1234 &lt; file.tar.gz</p>
  
  <p>its not working. </p>
  
  <p>I tried so many ways. </p>
  
  <p>One machine is CentOS 6.4 and the other one is Ubuntu 12.04 LTS</p>
  
  <p>Thanks in advance. </p>