Re: [protobuf] file transfer using protobuf

2015-05-21 Thread Henner Zeller
On 21 May 2015 at 02:45, navin kurle  wrote:

> Hi,
>
> How I can remove or delete file using google protobuf?
>

Well, you need to write your protocol and code that does that. Protobuf
 allows you to write the protocol efficiently and platform independently -
but you have to write the code for whatever you want to do. Be it making
coffee, deleting files or blinking LEDs.

-h


> Regards,
> Navin
>
>
> On Wednesday, December 10, 2014 at 5:03:38 AM UTC+5:30, Kaustubh Deshmukh
> wrote:
>>
>> Hi Henner,
>>
>> That worked for me. Thank you for the reply.
>>
>> On Monday, October 7, 2013 10:59:21 AM UTC-7, Henner Zeller wrote:
>>>
>>> On 5 October 2013 19:43, Kaustubh Deshmukh  wrote:
>>>
 Can I transfer file using google protobuf?

>>>
>>> The 'bytes' type can store arbitrary content.
>>>
>>> If you want to transfer huge files, they you might want to design a
>>> protocol araound it by sending chunks that each
>>> are less than 2GBytes, possibly much smaller.
>>>
>>> message FileChunk {
>>>optional int64 offset = 1;
>>>optional bytes data = 2;
>>> }
>>>
>>> Note, protocol buffers are just providing the encoding of your data, the
>>> network protocol you still have to do yourself.
>>>
>>> -h
>>>
>>>

 If yes, how?

 Thank you for short guidance and help.

 Regards,

 Kaustubh

 --
 You received this message because you are subscribed to the Google
 Groups "Protocol Buffers" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to protobuf+u...@googlegroups.com.
 To post to this group, send email to prot...@googlegroups.com.
 Visit this group at http://groups.google.com/group/protobuf.
 For more options, visit https://groups.google.com/groups/opt_out.

>>>
>>>  --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to protobuf+unsubscr...@googlegroups.com.
> To post to this group, send email to protobuf@googlegroups.com.
> Visit this group at http://groups.google.com/group/protobuf.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.


Re: [protobuf] file transfer using protobuf

2015-05-21 Thread navin kurle
Hi,

How I can remove or delete file using google protobuf?

Regards,
Navin


On Wednesday, December 10, 2014 at 5:03:38 AM UTC+5:30, Kaustubh Deshmukh 
wrote:
>
> Hi Henner,
>
> That worked for me. Thank you for the reply.
>
> On Monday, October 7, 2013 10:59:21 AM UTC-7, Henner Zeller wrote:
>>
>> On 5 October 2013 19:43, Kaustubh Deshmukh  wrote:
>>
>>> Can I transfer file using google protobuf?
>>>
>>
>> The 'bytes' type can store arbitrary content.
>>
>> If you want to transfer huge files, they you might want to design a 
>> protocol araound it by sending chunks that each
>> are less than 2GBytes, possibly much smaller.
>>
>> message FileChunk {
>>optional int64 offset = 1;
>>optional bytes data = 2;
>> }
>>
>> Note, protocol buffers are just providing the encoding of your data, the 
>> network protocol you still have to do yourself.
>>
>> -h
>>  
>>
>>>
>>> If yes, how?
>>>
>>> Thank you for short guidance and help.
>>>
>>> Regards,
>>>
>>> Kaustubh
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Protocol Buffers" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to protobuf+u...@googlegroups.com.
>>> To post to this group, send email to prot...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/protobuf.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.


Re: [protobuf] file transfer using protobuf

2014-12-09 Thread Kaustubh Deshmukh
Hi Henner,

That worked for me. Thank you for the reply.

On Monday, October 7, 2013 10:59:21 AM UTC-7, Henner Zeller wrote:
>
> On 5 October 2013 19:43, Kaustubh Deshmukh  > wrote:
>
>> Can I transfer file using google protobuf?
>>
>
> The 'bytes' type can store arbitrary content.
>
> If you want to transfer huge files, they you might want to design a 
> protocol araound it by sending chunks that each
> are less than 2GBytes, possibly much smaller.
>
> message FileChunk {
>optional int64 offset = 1;
>optional bytes data = 2;
> }
>
> Note, protocol buffers are just providing the encoding of your data, the 
> network protocol you still have to do yourself.
>
> -h
>  
>
>>
>> If yes, how?
>>
>> Thank you for short guidance and help.
>>
>> Regards,
>>
>> Kaustubh
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Protocol Buffers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to protobuf+u...@googlegroups.com .
>> To post to this group, send email to prot...@googlegroups.com 
>> .
>> Visit this group at http://groups.google.com/group/protobuf.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.


Re: [protobuf] file transfer using protobuf

2013-10-07 Thread Henner Zeller
On 5 October 2013 19:43, Kaustubh Deshmukh  wrote:

> Can I transfer file using google protobuf?
>

The 'bytes' type can store arbitrary content.

If you want to transfer huge files, they you might want to design a
protocol araound it by sending chunks that each
are less than 2GBytes, possibly much smaller.

message FileChunk {
   optional int64 offset = 1;
   optional bytes data = 2;
}

Note, protocol buffers are just providing the encoding of your data, the
network protocol you still have to do yourself.

-h


>
> If yes, how?
>
> Thank you for short guidance and help.
>
> Regards,
>
> Kaustubh
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to protobuf+unsubscr...@googlegroups.com.
> To post to this group, send email to protobuf@googlegroups.com.
> Visit this group at http://groups.google.com/group/protobuf.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.