<div dir="ltr"><div>Hi Ritu</div><div><br></div><div>As we can see in frame #8, FinalBlockId is %00%12G, which means the file has 4679 segments.</div><div>The last Interest of this file is frame #196 requesting segment %00%15. The last Data received is frame #200 for segment %00%20.<br></div><div>Retrieval of the first file never finished.</div><div><br></div><div>This means ndncatchunks of the first file returned an error, so that the bash script terminates and does not continue onto the next command.</div><div>As for why ndncatchunks failed, you can see that from the standard error.</div><div>It's either displayed on the screen, or you can redirect standard error to a file and look at the that file.<br></div><div><br></div><div>Yours, Junxiao<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 22, 2020 at 8:41 PM Ritu Bordoloi <<a href="mailto:bordoloi.ritu1988@gmail.com">bordoloi.ritu1988@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p style="text-align:center"><font color="red"><b>External Email</b><br></font></p><div dir="ltr">
<div style="color:rgb(0,0,0)"><font face="arial, sans-serif">Dear Junxiao, </font></div><div style="color:rgb(0,0,0)"><font face="arial, sans-serif"><br></font></div><div style="color:rgb(0,0,0)"><font face="arial, sans-serif">Thank
 you again for your suggestion. Indeed my code was running multiple 
instances of the bash script. I resolved this issue. However, </font><span style="font-family:arial,sans-serif">now
 I can see that only the first file has been successfully received by 
the host even though my bash script was requesting four files.</span></div><div style="color:rgb(0,0,0)"><font face="arial, sans-serif"><br></font></div><div style="color:rgb(0,0,0)"><font face="arial, sans-serif">Can you please tell me why the other 3 files have not been received by the host? I think I am still doing something wrong here.</font></div><div style="color:rgb(0,0,0)"><font face="arial, sans-serif"><br></font></div><div style="color:rgb(0,0,0)"><font face="arial, sans-serif">I am invoking my bash script using the following command:<br></font></div><div style="color:rgb(0,0,0)"><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif"><font color="#0000ff">ndn.net.hosts[3].cmd('/home/ritu/Downloads/mini-ndn/examples/nlsr/./mytest_4_nodes {} {} {} {} &'.format(Reqfile1, Reqfile2, Reqfile3, Reqfile4))</font><br></font></div><div><font face="arial, sans-serif" color="#0000ff"><br></font></div><div><font face="arial, sans-serif" color="#000000">where Reqfile1... 4 are the files that have been requested by the host d. </font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">I am again appending my bash script below</font></div><span><div><font face="arial, sans-serif"><font color="#0000ff">#!/bin/bash<br>set -e<br>ndncatchunks /ndn/a-site/a/$1<br>ndncatchunks /ndn/a-site/a/$2<br>ndncatchunks /ndn/a-site/a/$3<br>ndncatchunks /ndn/a-site/a/$4</font><br></font></div><div><font face="arial, sans-serif"><br></font></div></span><div><font face="arial, sans-serif">Further
 I am also attaching pcap and dump files for your reference. Please do 
let me know your suggestions. That will be very helpful. <br></font></div><span><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Thank you.</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Kind regards,</font></div><div><font face="arial, sans-serif">Ritu</font></div></span>

</div><br>
</blockquote></div></div>