Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Different ways of transferring files Linux
#1
Star 
Method 1 wget:
Client1: python3 -m http.server 80
Client2: wget http://10.10.10.10/file

Method 2 cURL:
Client1: python3 -m http.server 80
Client2: curl -o file http://10.10.10.10/file

Method 3 Netcat:
Client1: nc -lvp 4444 > file
Client2: nc 192.168.1.39 4444 -w 3 < file

Method 4 SCP (SSH utility):
Client: scp file target@10.10.10.10:/path/to/file

Method 5 FTP:
Client1: twistd -n ftp -r .
Client2: wget ftp://10.10.10.10:2121/file
(or put/get in FTP server)

enjoy

-gh
Reply


Messages In This Thread
Different ways of transferring files Linux - by admin - 05-17-2022, 02:06 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)