• Home
  • History
  • Annotate
  • only in this directory
NameDateSize

..25-Jul-201946

HakefileH A D25-Jul-2019732

netfile.cH A D25-Jul-201912.7 KiB

README.txtH A D25-Jul-2019772

README.txt

1netfile: a simple program for sending or receiving files over the network.
2It's most useful to run from fish.
3
4Usage:
5netfile [-sr] [-a address] [-p port] [-f file]
6-s: send file
7-r: receive file
8-a: IP address to send to
9-p: port to send to or receive on
10-f: path name of the file to send or receive to
11
12example of sending a file: 
13
14netfile -s -a 129.132.102.50 -p 31337 -f bootmodules
15
16on 129.132.102.50 you can receive the file using netcat by running:
17
18nc -l 31337
19
20example of receiving a file:
21
22netfile -r -p 31337 -f my_file
23
24on another machine you can send the file using netcat by running:
25
26nc <ip_address> 31337 < afile.txt
27
28
29Note that due to the way the e1000 driver is written, netfile can 
30only be run once.  Running it a second time crashes the e1000 driver.
31