netwrite - write data transported over network for reading using netread
Contents
Description
The main purpose of netrw is to simplify and speed up file transfers to hosts without an FTP server. It
can also be used for uploading data to some other user. It is something like one-way netcat (nc) with
some nice features concerning data transfers. Netrw can compute and check message digest (MD5, SHA-1, and
some others) of all the data being transferred, it can also print information on progress and average
speed. At the end it sums up the transfer.
Name
netwrite - write data transported over network for reading using netread
Options
udp Changes the default TCP protocol can be changed to UDP.
-f host
Works in the firewall mode; connection is initiated by netwrite.
-c This option is ignored. Transmission checksum is activated by default.
-C algorithm
Uses the specified algorithm for checksum. This option also implies -c
. Supported algorithms (the first is default): sha1md5rmd160none
-o <file>
Writes data to file instead of stdout.
-s In case -o option is specified, open the file for synchronous I/O. Otherwise, this option has no
effect.
-b print speed in b/s instead of B/s
-h <n> Prints `#' after each n KiB transferred (def. 10485.76).
-H <n> Prints `#' after each n MiB transferred (def. 10.24).
-q Be quiet.
-v Be verbose.
-vv Be very verbose.
-V Show version.
-vV Show verbose version.
Return Values
0 no errors.
1 some error occured.
2 checksum validation failed.
See Also
netread(1), /usr/share/doc/netrw/README
Synopsis
netwrite[udp][-fhost][-c][-Calgorithm][-ofile][-s][-b][-h<n>][-H]<n>][-q][-v][-vv][-V][-vV]netwrite is part of the netrw package. It is a simple (but powerful) tool for transporting data over the
internet, in conjunction with netread(1)