Project

rncp

0.0
No commit activity in last 3 years
No release in over 3 years
rncp provides a fast way of transfering files between systems. Its pure Ruby port of Pyncp/Ncp.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.3
>= 0.5.4
 Project Readme

rncp / Ruby Network Copy

This project is a port of Pyncp which is a port of the original "ncp - a fast file copy tool for LANs" originally written by Felix von Leitner felix-ncp@fefe.de

At the moment rncp seems to be compatible with pyncp's default settings (i.e. Multicast for poll/push and gzip compression) but all options will eventually be implemented via command line arguments. Also, all code should be pure ruby (minitar and Glib gems) so it should work with most if not all OS's.

Installation

Install ruby, then install the gem:

$ gem install rncp

Its a pure ruby gem, depending on pure ruby gems, so it should work with most rubies.

Quick Start

If you want to send a file, directory or group of files/directories, start the listener on the destination machine:

$ rncp

To send a file or directory directly:

$ rncp send 192.168.1.2 file.txt ./directory

To send files and directories without knowing IP Addresses or Hostnames setup a Multicast/Broadcast Poll on the destination machine:

$ rncp poll

To send via Multicast/Broadcast use a push:

$ rncp push file.txt ./directory

Credits

Thanks to Felix and makefu