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
- Host: GitHub
- URL: https://github.com/micnncim/ft
- Owner: micnncim
- Created: 2019-07-14T08:31:54.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-15T06:08:13.000Z (almost 6 years ago)
- Last Synced: 2024-11-09T15:48:30.332Z (8 months ago)
- Language: Go
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```