4 ms·
Zack's Notablog – Send a File
- Scaevolus 4y ago> ssh user@server “cat file | pigz -9 | ccrypt –key PASSPHRASE” | ccrypt -d –key PASSPHRASE | pigz -d | pv -atepb -s “293M” > done.json > pv -batep file | gzip -9 | ssh user@server “gzip -d > file2” Why are you encrypting a file that you're passing over SSH? This should just be `scp -C`. croc's biggest failure is that it doesn't really do NAT hole punching, so you're limited to the speed of the relay. A ton of the web-based WebTorrent/WebRTC based file transfer programs are extremely likely to fail on even moderately large files, >500MB. In practical use, mega.nz and bittorrent are the most reliable ways I've found to exchange files with other people, depending on the size of the data and sophistication of my counterparty.
- qrv3w 4y ago> croc's biggest failure is that it doesn't really do NAT hole punching, so you're limited to the speed of the relay. I'd like to test this. Can you give me an example of a program that does do NAT hole punching for file transfers?