Posted By

mushookies on 10/14/09


Tagged

file transfer nc netcat


Versions (?)

Net Cat Transfer Files


 / Published in: Bash
 

Used to transfer files with low overhead.

  1. #send file:
  2.  
  3. cat file.ext | gzip -9 | nc -l 333
  4.  
  5. #receive file:
  6.  
  7. nc www.hostname.com 333 > output.gz

Report this snippet  

You need to login to post a comment.