5

Tip #516   Transfer files with netcat

On client machine
nc -lpvv port > file

On server machine
nc -vv clientip port < file


Example :
Client: nc -l -p 6868 > file.txt
Server: nc 31.41.59.26 6868 < file.txt

 
  • TAGS:
  • nc