Tuesday, September 8, 2015

Another Way to Transfer Files Over the Network in Linux


Transfer files with nc when SimpleHTTPServer python module is not available.

nc -l <port_to_listen_on> < <file to transfer>

nc <ip_of_server> <port> > <output_file_name>


example,

nc -l 9000 < logs.zip
nc 192.168.1.3 > logs.zip

No comments:

Post a Comment

What's in my Bag? EDC of a Tester