lncp(1)
NAME
lncp -- Reticulum file transfer utility
SYNOPSIS
lncp [options] file destination lncp [options] -l [-s dir]
DESCRIPTION
lncp transfers files over the Reticulum network. It is compatible with Python's rncp. It connects to a running daemon (lnsd or rnsd) via shared instance IPC.
In send mode, lncp sends file to the node identified by destination (a 32-character hex hash). In listen mode (-l), it waits for incoming file transfer requests.
OPTIONS
file : File to send (send mode).
destination : Destination hash, 32 hex characters (send mode).
--config dir : Path to alternative Reticulum configuration directory.
-v, --verbose : Increase verbosity. Repeat for more detail.
-q, --quiet : Decrease verbosity.
-l, --listen : Listen for incoming transfer requests.
-w seconds : Time out the fetch or transfer phase after this many seconds, counted from the moment the link is established (link establishment has its own internal budget). There is no timeout by default: slow transports such as LoRa need none, so set this only when you want a hard wall-clock bound.
-s, --save dir : Save received files in the specified directory.
-O, --overwrite : Allow overwriting existing files when receiving.
-n, --no-auth : Accept requests from anyone (no authentication).
-a hash : Allow a specific identity hash. May be given more than once.
-b interval : Announce interval in seconds. -1 = never, 0 = once at startup, N = every N seconds (default: 0).
-p, --print-identity : Print identity and destination info and exit.
-i file : Path to identity file to use.
-S, --silent : Fully silent: no progress output and no log output at all, equivalent to -qq.
-C, --no-compress : Disable automatic compression.
-f, --fetch : Fetch file from remote listener instead of pushing.
-F, --allow-fetch : Allow authenticated clients to fetch files.
-j path : Restrict fetch requests to the specified path.
-P, --phy-rates : Display physical layer transfer rates.
EXAMPLES
Send a file:
lncp myfile.tar.gz a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4
Listen for incoming files and save to a directory:
lncp -l -s ~/received/
Listen with verbose logging, accepting from anyone:
lncp -l -n -v
SEE ALSO
lnsd(1), lnstest(1), lnstatus(1)