Netcat

From Tech
Jump to: navigation, search

Transfer a file using netcat

First, make the file available

cat file | nc -l -p 1111 -q 2

Next, download the file from another computer

netcat host 1111 > file
Personal tools