Filewatcher File Search File Search
Content Search
» » » » » netrw_1.3.2-2_i386.deb » Content »
pkg://netrw_1.3.2-2_i386.deb:26988/usr/share/doc/netrw/  info  control  downloads

netrw - netcat like tool with nice features to transport files over network…  more info»


$Id: README,v 1.3 2006/03/02 23:22:30 jirka Exp $

netrw is a simple (but powerful) tool for transporting data over the
internet. Its main purpose 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.

Typical usage of netrw tool

Let's suppose you want to send a file named from
to There are several ways how this can be done. The
first and the second example are the same for Unix-like OSs as well as for
Windows "OS". In case of Windows, it's better and safer to use -i and -o
parameters rather than I/O redirection. The third example is only usable on
Unix-like systems because Windows (not speaking about cygwin and other
similar tools) has no ssh.

* basic and the most usual scenario:
    1. on run

        $ netread 1234 >
        $ netread -o 1234

    2. on run

        $ netwrite 1234 <
        $ netwrite -i 1234

* when the server is protected by firewall (and the host is not) or when
  you want the connection to be initiated by reader, you have to use
  this scenario:
    1. on run

        $ netwrite -f 1234 <
        $ netwrite -f -i 1234

    2. on run

        $ netread -f 1234 >
        $ netread -f -o 1234

* when you are both writer and reader, you can run the following
  commands on one of the two machines only:
    * on run

        $ ssh 'netread 1234 >' &>/dev/null &
        $ netwrite 1234 <

    * OR on run

        $ netread 1234 > 2>/dev/null &
        $ ssh 'netwrite 1234 <'

When you want to send more than one file, you have to use a bit
complicated commands:

    * On Unix-like systems you can make use of tar and pipes:

        $ netread 1234 | tar xf -
        $ tar cf - <some_files> | netwrite 1234

    * Windows: first you have to compress those files into one file (e.g.,
      using WinZip), send the compressed file to the remote host (as it is
      described above) and there you have to uncompress it.

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017