<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Ok thank you. I got my answer from your answer.<div class="">Sorry for asking a lot of questions. </div><div class="">There are interest pipeline types which are “fixed” and “aimd” can you describe that because I don’t understand it from the documentation and I DON’T get anything different from running each.</div><div class=""><br class=""></div><div class="">Thanks </div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 27, 2017, at 10:22 PM, Nick Briggs <<a href="mailto:nicholas.h.briggs@gmail.com" class="">nicholas.h.briggs@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I don't think I quite understand your question, but what the documentation is saying is that you can either let ndnputchunks create a version (when you don't give one), or you can give the desired version explicitly (as long as it follows the correct format -- %FD followed by 8 bytes).   It doesn't make any sense to *re*publish something under a name & version that has already been published (assuming it still exists somewhere).<div class=""><br class=""></div><div class="">-- Nick</div><div class=""><br class=""><div class=""><br class=""></div><div class=""><div class=""><blockquote type="cite" class=""><div class="">On Feb 27, 2017, at 7:13 PM, Marzieh Babaeianjelodar <<a href="mailto:babaeim@clarkson.edu" class="">babaeim@clarkson.EDU</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Ok. Now I have another question about this part of the documentation:</div><div class=""><br class=""></div><div class="">When I run the following command two times, and I give the second time the old specific version <span style="color: rgb(244, 244, 244); font-family: Monaco; font-size: 10px; background-color: rgba(0, 0, 0, 0.85098);" class="">%FD%00%00%01Z%82%AF%A4%EF </span>, with the ndncatchunks I still get the latest version. I mean what is this command good for? Why do we need to publish an old version data again when we can just retrieve it with ndncatchunks -d fixed?</div><div class=""><br class=""></div><div class="">I hope you understood my question  </div><div class=""><br class=""></div><div class=""><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; color: rgb(51, 51, 51); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; background-color: rgb(255, 255, 255);" class="">To publish data with a specific version, you must append a version component to the end of the prefix. The version component must follow the aforementioned NDN naming conventions. For example, the following command will publish the version <code style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.600000381469727px; padding: 0.2em 0px; margin: 0px; background-color: rgba(0, 0, 0, 0.0392157); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;" class="">%FD%00%00%01Qc%CF%17v</code> of the <code style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.600000381469727px; padding: 0.2em 0px; margin: 0px; background-color: rgba(0, 0, 0, 0.0392157); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;" class="">/localhost/demo/gpl3</code> prefix:</p><pre style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.600000381469727px; margin-top: 0px; margin-bottom: 16px; line-height: 1.45; word-wrap: normal; padding: 16px; overflow: auto; background-color: rgb(247, 247, 247); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; color: rgb(51, 51, 51);" class=""><code style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; padding: 0px; margin: 0px; background-color: transparent; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-break: normal; border: 0px; display: inline; overflow: visible; line-height: inherit; word-wrap: normal;" class="">ndnputchunks ndn:/localhost/demo/gpl3/%FD%00%00%01Qc%CF%17v < /usr/share/common-licenses/GPL-3I don</code></pre><div class=""><br class=""></div></div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Feb 27, 2017, at 9:48 PM, Marzieh Babaeianjelodar <<a href="mailto:babaeim@clarkson.edu" class="">babaeim@clarkson.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Ok I think I got my answer to that question. We can get it through "-d fixed”.<div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Feb 27, 2017, at 9:22 PM, Marzieh Babaeianjelodar <<a href="mailto:babaeim@clarkson.edu" class="">babaeim@clarkson.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Thanks it was very helpful.</div><div class=""><br class=""></div><div class="">I have another question. What if we change the file and update it and we want to retrieve the old file with an older version? Can we just run the command with the version name?</div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Feb 27, 2017, at 8:13 PM, Nick Briggs <<a href="mailto:nicholas.h.briggs@gmail.com" class="">nicholas.h.briggs@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Run "ndncatchunks -h" for the help text... most of the tools have -h or --help options.<div class=""><br class=""></div><div class="">From the help for ndncatchunks --</div><div class=""><span class="Apple-tab-span" style="white-space:pre">     </span>"-d" does version discovery and takes argument "fixed" or "iterative".</div><div class=""><span class="Apple-tab-span" style="white-space:pre">      </span>"-v" turns on verbose output but doesn't affect the NDN packets sent vs. not having "-v".</div><div class="">Each time  you publish data with ndnputchunks it will create a new version -- the new version number is what gets printed with the "-p" option.  The individual packets that compose what you think of as a "file" are going to be named as (using your example below)</div><div class=""><span class="Apple-tab-span" style="white-space:pre">       </span>/localhost/demo/gpl3/<version#>/<chunk #></div><div class="">where the version and chunk components are binary coded (plus a leading marker) representations of the values.</div><div class=""><br class=""></div><div class="">Look at the documentation (or look at the source for the command line parsing...) for how to turn on packet logging for the NDN forwarding daemon -- then you can see exactly what's going on at the packet level when you run ndnputchunks/ndncatchunks (or any other NDN command that's talking to the forwarding daemon)</div><div class=""><br class=""></div><div class="">-- Nick Briggs</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class=""><blockquote type="cite" class=""><div class="">On Feb 27, 2017, at 4:55 PM, Marzieh Babaeianjelodar <<a href="mailto:babaeim@clarkson.edu" class="">babaeim@clarkson.EDU</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">What is the difference between these two commands:<div class=""><pre style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.600000381469727px; margin-top: 0px; margin-bottom: 16px; line-height: 1.45; word-wrap: normal; padding: 16px; overflow: auto; background-color: rgb(247, 247, 247); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; color: rgb(51, 51, 51);" class=""><code style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; padding: 0px; margin: 0px; background-color: transparent; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-break: normal; border: 0px; display: inline; overflow: visible; line-height: inherit; word-wrap: normal;" class="">ndncatchunks -d iterative ndn:/localhost/demo/gpl3
</code></pre></div><div class=""><code style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; padding: 0px; margin: 0px; background-color: transparent; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-break: normal; border: 0px; display: inline; overflow: visible; line-height: inherit; word-wrap: normal;" class=""><br class=""></code></div><div class=""><div class=""><pre style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.600000381469727px; margin-top: 0px; margin-bottom: 16px; line-height: 1.45; word-wrap: normal; padding: 16px; overflow: auto; background-color: rgb(247, 247, 247); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; color: rgb(51, 51, 51);" class=""><code style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; padding: 0px; margin: 0px; background-color: transparent; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-break: normal; border: 0px; display: inline; overflow: visible; line-height: inherit; word-wrap: normal;" class="">ndncatchunks -v ndn:/localhost/demo/gpl3
</code></pre></div></div><div class=""><code style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; padding: 0px; margin: 0px; background-color: transparent; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-break: normal; border: 0px; display: inline; overflow: visible; line-height: inherit; word-wrap: normal;" class=""><br class=""></code></div></div>_______________________________________________<br class="">Ndn-interest mailing list<br class=""><a href="mailto:Ndn-interest@lists.cs.ucla.edu" class="">Ndn-interest@lists.cs.ucla.edu</a><br class=""><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a><br class=""></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""></div></body></html>