there are many examples on the web, you can google "grpc java file transfer". Basically you need to send blob of bytes (proto "bytes" type). if the file is too large, you may want to use stream by chunking the payload.
On Fri, Jul 26, 2019 at 4:47 AM <[email protected]> wrote: > Hi, > > How to upload the image or file in java grpc.can you help any one.pls > give me a idea. > > -- > You received this message because you are subscribed to the Google Groups " > grpc.io" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/grpc-io/e06cfb3a-1cd1-440a-bdb6-3eca1dad2dec%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/e06cfb3a-1cd1-440a-bdb6-3eca1dad2dec%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CABu9GjrrV%3D9otd2YGt6te1NhOZrFQHTgU%2BBstTR%2B_GPgEk9z3Q%40mail.gmail.com.
