Normally one would use sexsend for this task. But this is not a good idea if the sexserver is behind a slow link.
woos is peer-to-peer and does not need a server.
usage: ... | woos [-v] [-p port] [-f filename] # any data coming from STDIN usage: woos [-v] [-p port] file # woof mode: offer a file usage: woos [-v] [-p port] files-or-directories... # will be sent as .tar.gz usage: woos [-v] [-p port] -z files-or-directories... # will be sent as .zip usage: woos [-v] [-p port] [-f filename] -U # provide upload form usage: woos [-v] [-p port] -g server # get stream (client mode)For example you have two notebooks in a (Wi-Fi) LAN and you want to exchange some files, then use:
woos README /opt/tcpbm /usr/local/bin(will display download URL)
wget -O- http://192.168.2.112:9999/ | tar xvzf -
you can also use woos in client mode:
woos -g 112 # will unpack automatically
If you need encryption, then you could use:
tar czf - README /opt/tcpbm /usr/local/bin | openssl bf -e -k wambam | woos # will display download URL
wget -O- http://192.168.2.112:9999/ | openssl bf -d -k wambam | tar xvzf -
If you want to receive a file, then use woos in upload mode:
woos -U # will display upload URL
Of course, on notebook 1 port 9999 must be open and not firewalled!