Giter Club home page Giter Club logo

rcp's Introduction

rcp

remote copy

screenshot

Overview

Commands for file transfer by tcp

Characteristic

  • Transfer files using buffer between file read / write and transfer process
  • Monitor read / write speed and transfer speed every second and display them in Sparkline chart
  • Network and storage performance can be measured with dummy data transmission and dummy reception functions

download

Release page Select and download the one that matches your platform

How to use

The main procedure is performed in the following two steps

  • Listen to any port number on the receiving side
  • Dial the destination port number on the sending side

Usage of listen mode

Usage:
  rcp listen [flags]

Flags:
  -h, --help                help for listen
  -l, --listenAddr string   listen address (default "0.0.0.0:1987")
  -o, --output string       output filename

Global Flags:
      --bufSize int         Buffer size (default 10485760)
      --dummyInput string   dummy input mode data size (ex: 100MB, 4K, 10g)
      --dummyOutput         dummy output mode
      --maxBufNum int       Maximum number of buffers (default 100)

Usage of send mode

Usage:
  rcp send [flags]

Flags:
  -d, --dialAddr string   dial address (ex: "198.51.100.1:1987" )
  -h, --help              help for send
  -i, --input string      input filename

Global Flags:
      --bufSize int         Buffer size (default 10485760)
      --dummyInput string   dummy input mode data size (ex: 100MB, 4K, 10g)
      --dummyOutput         dummy output mode
      --maxBufNum int       Maximum number of buffers (default 100)

Example of use

When listening on 1987 port on the receiving side (IP: 10.10.10.10) and sending

  • Listen on TCP 1987 port on the receiving side
$ rcp listen -l: 1987 -o save_filename
  • Send file to 10.10.10.10: 1987
$ rcp send -d 10.10.10.10:1987 -i input_filename

Dummy data transmission-> Discard received dummy data

  • Receiver
$ rcp listen -l: 1987 --dummyOutput
  • Sender
$ rcp send -d 10.10.10.10:1987 -i input_filename

rcp's People

Contributors

dependabot[bot] avatar masahide avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.