A small and fast utility to send files over network.
- If you're running Arch Linux, you can install package
sfnfrom AUR. However, it's slightly outdated (but I prefer the word "stable").
- It won't compile with gdc on Ubuntu (Mint, Debian, etc.) because libphobos there is too old.
Building and running
If you already have all this, just type
make ldc, or
make gdc) to build sources.
make install will install sfn to
/usr/bin/ (other destinations are not supported yet).
install also accepts
DESTDIR variable allows you to set root folder different from
/ (for example:
make DESTDIR=/tmp/mypkg install).
If you need to rebuild the manpage (typically you don't), install ronn and run
There also is experimental Ninja support. Try
ninja -t clean.
sfn --listen [options] [files to send] sfn --connect <address> [options] [files to send]
sfn will establish a connection, send all the files, receive all the files from another side and then exit.
-s are aliases for
-c is an alias for
-v: Show sfn version and exit.
-h: Show this text and exit.
-p: Use specified port. Defaults to 3214.
-f: Add prefix to received files' path and name. For example:
-n: Don't perform external IP detection and reverse DNS lookup.
-z: Call zenity to select files using standard GTK dialog.
-e: Disable integrity check after transfer. This option was added for compatibility with older versions of sfn.
- siphon — a bit outdated, but still compatible C implementation