<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<pre><font size="+1">Thank you.</font></pre>
<pre><font size="+1">Redirecting in a file can be an option and the use a script to extract the names.</font></pre>
<pre><font size="+1">Also the Data segments are available (in cache) for a moment if fetched before the stop of the application, otherwise, no.</font></pre>
<pre><font size="+1">
Regards,</font></pre>
<pre><font size="+1">Junior</font></pre>
<br>
<div class="moz-cite-prefix">On 10/19/2017 01:17 AM, Klaus Schneider
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:66144773-954c-f4da-710a-88d20063bfed@cs.arizona.edu">
<br>
<br>
On 10/18/2017 02:59 PM, Junior DONGO wrote:
<br>
<blockquote type="cite">Susmit, Klaus,
<br>
<br>
thanks for your answers.
<br>
<br>
I will try to print the vector to see.
<br>
<br>
Using the example of Klaus, suppose I have executed the command
for 2 or 3 files and some time later, I want to know the names?
<br>
</blockquote>
<br>
You can redirect the stderr output for later use by using
"&>"
<br>
<br>
<a class="moz-txt-link-freetext" href="https://stackoverflow.com/questions/637827/redirect-stderr-and-stdout-in-bash">https://stackoverflow.com/questions/637827/redirect-stderr-and-stdout-in-bash</a>
<br>
<br>
<blockquote type="cite">
<br>
Another question will be, how long will the Data segments be
available on NDN?
<br>
</blockquote>
<br>
I think until you quit the ndnputchunks application.
<br>
<br>
Best regards,
<br>
Klaus
<br>
<br>
<blockquote type="cite">
<br>
<br>
Regard,
<br>
<br>
Junior
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On 10/18/2017 10:10 PM, Klaus Schneider wrote:
<br>
<blockquote type="cite">If you use the -v parameter, it already
shows you most of the data name:
<br>
<br>
<blockquote type="cite">sudo ndnputchunks -v /test <
test.txt
<br>
Loading input ...
<br>
Created 94 chunks for prefix /test
<br>
Data published with name: /test/%FD%00%00%01_1%17%7B%C1
<br>
</blockquote>
<br>
Then you just need to add a predictable block id for each
chunk, like:
<br>
<br>
<blockquote type="cite">/test/%FD%00%00%01_1%17%7B%C1/%00%00
<br>
</blockquote>
<br>
Best regards,
<br>
Klaus
<br>
<br>
<br>
On 10/18/2017 08:11 AM, Susmit wrote:
<br>
<blockquote type="cite">ndnputchunks keeps chunks in a
std::vector.
<br>
<a class="moz-txt-link-freetext" href="https://github.com/named-data/ndn-tools/blob/11e74eb20f917a5fb77024f57cdd65f2dd4103a2/tools/chunks/putchunks/producer.hpp#L95">https://github.com/named-data/ndn-tools/blob/11e74eb20f917a5fb77024f57cdd65f2dd4103a2/tools/chunks/putchunks/producer.hpp#L95</a>
<br>
<br>
You can add some print statements in the code after the
vector is
<br>
populated, around line 135 in producer.cpp.
<br>
<br>
On Wed, Oct 18, 2017 at 7:57 AM, Junior DONGO
<a class="moz-txt-link-rfc2396E" href="mailto:junior.dongo@lacl.fr"><junior.dongo@lacl.fr></a> wrote:
<br>
<blockquote type="cite">Hi all,
<br>
<br>
Is there a way to find the list of published data using
ndnputchunks?
<br>
<br>
For example :
<br>
<br>
ndnputchunks -p ndn:/localhost/demo/gpl3 <
/usr/share/common-licenses/GPL-3
<br>
<br>
how to get all the name of data published by a node?
<br>
<br>
Thanks for your help
<br>
<br>
Junior
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________
<br>
Ndn-interest mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Ndn-interest@lists.cs.ucla.edu">Ndn-interest@lists.cs.ucla.edu</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a>
<br>
<br>
</blockquote>
<br>
<br>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</body>
</html>