/grpc-file-transfer

transfer file via grpc

Primary LanguageGo

File transfer via GRPC Proof of Concept

Build

protocol buffers

You can build protocol buffer files using the command

build\proto-gen.bat

Run

Server

go run .\cmd\server\main.go start -path="C:\Desktop"

Client

go run .\cmd\client\main.go upload -path="C:\Desktop\file.txt"

Dependencies

Protoc

Download the latest protoc here https://github.com/protocolbuffers/protobuf/releases/ Copy the binary file into your $GOPATH/bin. You can find your $GOPATH using go env