An open API service indexing awesome lists of open source software.

https://github.com/micnncim/ft

File transferer with gRPC
https://github.com/micnncim/ft

Last synced: 4 months ago
JSON representation

File transferer with gRPC

Awesome Lists containing this project

README

        

# ft

A file transferer with gRPC.
Inspired by [mattn/ft](https://github.com/mattn/ft).

## Usage

```
$ ft --help
Usage of ft:
-h string
host of server (default "localhost:8080")
-s run as a server
```

### Run as Server

```
$ ft -s
```

### Run as Client

#### Download

Download from `~/Downloads/gopher.png` in server to `./gopher.png` in client.

```
$ ft download ~/Downloads/gopher.png gopher.png
```

#### Upload

Upload from `./gopher.png` in client to `~/Downloads/gopher.png` in server.

```
$ ft upload gopher.png ~/Downloads/gopher.png
```