]> Cypherpunks.ru repositories - nncp.git/commitdiff
Huge files requires -chunked as a rule
authorSergey Matveev <stargrave@stargrave.org>
Sun, 10 Sep 2017 15:15:31 +0000 (18:15 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 10 Sep 2017 15:15:31 +0000 (18:15 +0300)
doc/integration.texi

index d53423a96220248ca1538d36982af4aec583cf04..b7ad5237f2aa0da8672aa3024b368147722c8462 100644 (file)
@@ -250,7 +250,7 @@ You can queue you files after they are completely downloaded:
 @verbatim
 % cat send-downloaded.sh
 #!/bin/sh
-nncp-file "$3" remote.node
+nncp-file -chunked $(( 1024 * 100 )) "$3" remote.node
 
 % aria2c \
     --on-download-complete send-downloaded.sh \