Skip to content

aleitner/grpc-file-transfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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